Version: 2021.3
언어: 한국어
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 bool value.

설명

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