You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.6 KiB
2.6 KiB
Animation commands
[TOC]
Play Anim State
Plays a state of an animator according to the state name
Defined in Fungus.PlayAnimState
Property | Type | Description |
---|---|---|
Animator | Fungus.AnimatorData | Reference to an Animator component in a game object |
State Name | Fungus.StringData | Name of the state you want to play |
Layer | Fungus.IntegerData | Layer to play animation on |
Time | Fungus.FloatData | Start time of animation |
Reset Anim Trigger
Resets a trigger parameter on an Animator component.
Defined in Fungus.ResetAnimTrigger
Property | Type | Description |
---|---|---|
_animator | Fungus.AnimatorData | Reference to an Animator component in a game object |
_parameter Name | Fungus.StringData | Name of the trigger Animator parameter that will be reset |
Set Anim Bool
Sets a boolean parameter on an Animator component to control a Unity animation
Defined in Fungus.SetAnimBool
Property | Type | Description |
---|---|---|
_animator | Fungus.AnimatorData | Reference to an Animator component in a game object |
_parameter Name | Fungus.StringData | Name of the boolean Animator parameter that will have its value changed |
Value | Fungus.BooleanData | The boolean value to set the parameter to |
Set Anim Float
Sets a float parameter on an Animator component to control a Unity animation
Defined in Fungus.SetAnimFloat
Property | Type | Description |
---|---|---|
_animator | Fungus.AnimatorData | Reference to an Animator component in a game object |
_parameter Name | Fungus.StringData | Name of the float Animator parameter that will have its value changed |
Value | Fungus.FloatData | The float value to set the parameter to |
Set Anim Integer
Sets an integer parameter on an Animator component to control a Unity animation
Defined in Fungus.SetAnimInteger
Property | Type | Description |
---|---|---|
_animator | Fungus.AnimatorData | Reference to an Animator component in a game object |
_parameter Name | Fungus.StringData | Name of the integer Animator parameter that will have its value changed |
Value | Fungus.IntegerData | The integer value to set the parameter to |
Set Anim Trigger
Sets a trigger parameter on an Animator component to control a Unity animation
Defined in Fungus.SetAnimTrigger
Property | Type | Description |
---|---|---|
_animator | Fungus.AnimatorData | Reference to an Animator component in a game object |
_parameter Name | Fungus.StringData | Name of the trigger Animator parameter that will have its value changed |