Class AnimatorState
Inheritance
AnimatorState
Assembly: UnityEditor.dll
Syntax
public sealed class AnimatorState : Object
Constructors
|
Improve this Doc
View Source
AnimatorState()
Declaration
Properties
behaviours
Declaration
public StateMachineBehaviour[] behaviours { get; set; }
Property Value
cycleOffset
Declaration
public float cycleOffset { get; set; }
Property Value
cycleOffsetParameter
Declaration
public string cycleOffsetParameter { get; set; }
Property Value
cycleOffsetParameterActive
Declaration
public bool cycleOffsetParameterActive { get; set; }
Property Value
iKOnFeet
Declaration
public bool iKOnFeet { get; set; }
Property Value
mirror
Declaration
public bool mirror { get; set; }
Property Value
mirrorParameter
Declaration
public string mirrorParameter { get; set; }
Property Value
mirrorParameterActive
Declaration
public bool mirrorParameterActive { get; set; }
Property Value
motion
Declaration
public Motion motion { get; set; }
Property Value
nameHash
Declaration
public int nameHash { get; }
Property Value
speed
Declaration
public float speed { get; set; }
Property Value
speedParameter
Declaration
public string speedParameter { get; set; }
Property Value
speedParameterActive
Declaration
public bool speedParameterActive { get; set; }
Property Value
tag
Declaration
public string tag { get; set; }
Property Value
timeParameter
Declaration
public string timeParameter { get; set; }
Property Value
timeParameterActive
Declaration
public bool timeParameterActive { get; set; }
Property Value
transitions
Declaration
public AnimatorStateTransition[] transitions { get; set; }
Property Value
|
Improve this Doc
View Source
uniqueName
Declaration
[Obsolete("uniqueName does not exist anymore. Consider using .name instead.", true)]
public string uniqueName { get; }
Property Value
|
Improve this Doc
View Source
uniqueNameHash
Declaration
[Obsolete("uniqueNameHash does not exist anymore.", true)]
public int uniqueNameHash { get; }
Property Value
writeDefaultValues
Declaration
public bool writeDefaultValues { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AddExitTransition()
Declaration
public AnimatorStateTransition AddExitTransition()
Returns
|
Improve this Doc
View Source
AddExitTransition(Boolean)
Declaration
public AnimatorStateTransition AddExitTransition(bool defaultExitTime)
Parameters
Type |
Name |
Description |
Boolean |
defaultExitTime |
|
Returns
|
Improve this Doc
View Source
AddStateMachineBehaviour(Type)
Declaration
[TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)]
public StateMachineBehaviour AddStateMachineBehaviour(Type stateMachineBehaviourType)
Parameters
Type |
Name |
Description |
Type |
stateMachineBehaviourType |
|
Returns
|
Improve this Doc
View Source
AddStateMachineBehaviour<T>()
Declaration
public T AddStateMachineBehaviour<T>()
where T : StateMachineBehaviour
Returns
Type Parameters
|
Improve this Doc
View Source
AddTransition(AnimatorState)
Declaration
public AnimatorStateTransition AddTransition(AnimatorState destinationState)
Parameters
Returns
|
Improve this Doc
View Source
AddTransition(AnimatorState, Boolean)
Declaration
public AnimatorStateTransition AddTransition(AnimatorState destinationState, bool defaultExitTime)
Parameters
Returns
|
Improve this Doc
View Source
AddTransition(AnimatorStateMachine)
Declaration
public AnimatorStateTransition AddTransition(AnimatorStateMachine destinationStateMachine)
Parameters
Returns
|
Improve this Doc
View Source
AddTransition(AnimatorStateMachine, Boolean)
Declaration
public AnimatorStateTransition AddTransition(AnimatorStateMachine destinationStateMachine, bool defaultExitTime)
Parameters
Returns
|
Improve this Doc
View Source
AddTransition(AnimatorStateTransition)
Declaration
public void AddTransition(AnimatorStateTransition transition)
Parameters
|
Improve this Doc
View Source
GetMotion()
Declaration
[Obsolete("GetMotion() is obsolete. Use motion", true)]
public Motion GetMotion()
Returns
|
Improve this Doc
View Source
RemoveTransition(AnimatorStateTransition)
Declaration
public void RemoveTransition(AnimatorStateTransition transition)
Parameters
Extension Methods