I recently rewrote a shared I was using into Shader Graph. As an example I carried out the color as an external parameter.
In my traditional shader to set the color I would call something like
In the new code, I could not figure out the name of the parameter until I looked at the generated code. Turns out my Color parameter was actually named "Color_D027E98" So now my code is
Not very pretty and I don't know how constant D027E98 is. Is this the correct way of changing a shader's parameter? Should I be doing something different using Shader Graph - Is this number going to change on me as if I update my shader?