Version: 2023.2
言語: 日本語
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 bool value.

説明

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