Animation
Provides interfacing with the Animation component.
To get an Animation from an item, use the GetComponent method.
let animationComponent = item.GetComponent("Animation")
You can then use the animationComponent
property to access the Dropdown class.
Methods
Method Name | Return Type | Parameters | Description |
---|---|---|---|
IsValid | void | none | Checks if the component is not null |
Play | void | string | Plays an animation without blending |
Stop | void | string | Stops all playing animations that were started with this Animation |
GetState | AnimState | string | Gets the current state of the Animation |
Properties
Property Name | Type | Description |
---|---|---|
Enabled | bool | Checks the active state of the component |