文档

Unity Engine

Unity Engine

SetInt(AnimationStream, int)

Sets the integer property value into a stream.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void SetInt(AnimationStream stream, int value)

Parameters

The AnimationStream that holds the animated values.

value

The new integer property value.

Remarks

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