Search Unity

Question Exposing Subgraph Keywords

Discussion in 'Shader Graph' started by romanpapush, Sep 15, 2020.

  1. romanpapush

    romanpapush

    Joined:
    Sep 20, 2012
    Posts:
    40
    Hello!

    Is it possible to expose SubGraph keywords in either the Main Graph or the Inspector?
    Right now any keyword defined inside of SubGraph is not visible anywhere, meaning it cannot be changed in the inspector.
    Is there some workaround around this, or is it a planned feature?

    (Using Unity 2020.1.3f1)
     
  2. romanpapush

    romanpapush

    Joined:
    Sep 20, 2012
    Posts:
    40
    Believe I found the answer on how to expose them. From Unity Docs:
    Will test this tomorrow. Cheers!
    Update: Yeap, works as advertised.
     
    Last edited: Sep 16, 2020
    Olmi likes this.
  3. Goyoman

    Goyoman

    Joined:
    Jun 16, 2015
    Posts:
    10
    Also worth mentioning it's reference name must end in "_ON".