ドキュメント

Unity Engine

Unity Engine

GetBool

Use this method to get the value of a named bool property from the VFXEventAttribute.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

GetBool(int)

Use this method to get the value of a named bool property from the VFXEventAttribute.
public bool GetBool(int nameID)

Parameters

nameID

The ID of the property. This is the same ID that Shader.PropertyToID returns.

Returns

Type

Description

boolThe value for the bool you specify. Returns
false
if VFXEventAttribute.HasBool returns
false
.

GetBool(string)

Use this method to get the value of a named bool property from the VFXEventAttribute.
public bool GetBool(string name)

Parameters

name

The name of the property.

Returns

Type

Description

boolThe value for the bool you specify. Returns
false
if VFXEventAttribute.HasBool returns
false
.