Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetBool(AnimationStream)

Gets the boolean property value from an object in the Scene.
Read time 1 minuteLast updated 12 days ago

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
.