Documentation

Unity Engine

Download Unity

Unity Engine

SetBool(AnimationStream, bool)

Sets the boolean property value into a stream.
Read time 1 minuteLast updated 19 hours ago

Definition

public void SetBool(AnimationStream stream, bool value)

Parameters

The AnimationStream that holds the animated values.

value

The new boolean property value.

Remarks

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