文档

Unity Engine

Unity Engine

GetBool(AnimationStream)

Gets the boolean property value from an object in the Scene.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool GetBool(AnimationStream stream)

Parameters

The AnimationStream managing this handle.

Returns

Type

Description

boolThe boolean property value.

Remarks

If the property is not a boolean, the method will throw an
InvalidOperationException
.