Version: 2019.4
public bool GetBool (int nameID);
public bool GetBool (string name);

パラメーター

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameプロパティーの名前

戻り値

bool The value for the bool you specify. Returns false if VisualEffect.HasBool returns false.

説明

Gets the value of a named bool property