public void SetBool (int nameID, bool b);
public void SetBool (string name, bool b);

파라미터

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameThe name of the property.
bThe new bool value.

설명

Use this method to set the value of a bool with the name you pass in.