Version: 2021.1
언어: 한국어
public void SetBool (int nameID, bool b);
public void SetBool (string name, bool b);

파라미터

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
name The name of the property.
b The new boolean value.

설명

Sets the value of a named bool property.

Automatically changes overridden state for this property to true.