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 boolean value.

설명

The new bool value.

Automatically changes overridden state for this property to true.