Search Unity

Question Build Shader Graph from Editor

Discussion in 'Shader Graph' started by raingame_, Mar 23, 2021.

  1. raingame_

    raingame_

    Joined:
    Jan 15, 2019
    Posts:
    28
    Is there a way to create new shader graph and change it from editor c# scripts?
    Like:
    - MyWindow/CreateShaderGraph -- creates a new Shader Graph (just like when you create it from project window)
    - MyWindow/MyCustomShaderGraph/Add/ColorProperty -- adds Color property to your created Shader Graph
    and etc.
    ?