Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetInt(AnimationStream)

Gets the integer property value from a stream.
Read time 1 minuteLast updated 8 days ago

Definition

public int GetInt(AnimationStream stream)

Parameters

The AnimationStream that holds the animated values.

Returns

Type

Description

intThe integer property value.

Remarks

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