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 プロパティーの名前
b The new boolean value.

説明

Sets the value of a named bool property.

Automatically changes overridden state for this property to true.