Show / Hide Table of Contents

Class AnimatorState

Inheritance
Object
Object
AnimatorState
Inherited Members
Object.GetInstanceID()
Object.GetHashCode()
Object.Equals(Object)
Object.name
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate(Object, Transform, Boolean)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Instantiate<T>(T, Transform, Boolean)
Object.Destroy(Object, Single)
Object.Destroy(Object)
Object.DestroyImmediate(Object, Boolean)
Object.DestroyImmediate(Object)
Object.FindObjectsOfType(Type)
Object.DontDestroyOnLoad(Object)
Object.hideFlags
Object.DestroyObject(Object, Single)
Object.DestroyObject(Object)
Object.FindSceneObjectsOfType(Type)
Object.FindObjectsOfTypeIncludingAssets(Type)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.FindObjectsOfTypeAll(Type)
Object.FindObjectOfType(Type)
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor.Animations
Assembly: UnityEditor.dll
Syntax
public sealed class AnimatorState : Object

Constructors

| Improve this Doc View Source

AnimatorState()

Declaration
public AnimatorState()

Properties

behaviours

Declaration
public StateMachineBehaviour[] behaviours { get; set; }
Property Value
Type Description
StateMachineBehaviour[]

cycleOffset

Declaration
public float cycleOffset { get; set; }
Property Value
Type Description
Single

cycleOffsetParameter

Declaration
public string cycleOffsetParameter { get; set; }
Property Value
Type Description
String

cycleOffsetParameterActive

Declaration
public bool cycleOffsetParameterActive { get; set; }
Property Value
Type Description
Boolean

iKOnFeet

Declaration
public bool iKOnFeet { get; set; }
Property Value
Type Description
Boolean

mirror

Declaration
public bool mirror { get; set; }
Property Value
Type Description
Boolean

mirrorParameter

Declaration
public string mirrorParameter { get; set; }
Property Value
Type Description
String

mirrorParameterActive

Declaration
public bool mirrorParameterActive { get; set; }
Property Value
Type Description
Boolean

motion

Declaration
public Motion motion { get; set; }
Property Value
Type Description
Motion

nameHash

Declaration
public int nameHash { get; }
Property Value
Type Description
Int32

speed

Declaration
public float speed { get; set; }
Property Value
Type Description
Single

speedParameter

Declaration
public string speedParameter { get; set; }
Property Value
Type Description
String

speedParameterActive

Declaration
public bool speedParameterActive { get; set; }
Property Value
Type Description
Boolean

tag

Declaration
public string tag { get; set; }
Property Value
Type Description
String

timeParameter

Declaration
public string timeParameter { get; set; }
Property Value
Type Description
String

timeParameterActive

Declaration
public bool timeParameterActive { get; set; }
Property Value
Type Description
Boolean

transitions

Declaration
public AnimatorStateTransition[] transitions { get; set; }
Property Value
Type Description
AnimatorStateTransition[]
| Improve this Doc View Source

uniqueName

Declaration
[Obsolete("uniqueName does not exist anymore. Consider using .name instead.", true)]
public string uniqueName { get; }
Property Value
Type Description
String
| Improve this Doc View Source

uniqueNameHash

Declaration
[Obsolete("uniqueNameHash does not exist anymore.", true)]
public int uniqueNameHash { get; }
Property Value
Type Description
Int32

writeDefaultValues

Declaration
public bool writeDefaultValues { get; set; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

AddExitTransition()

Declaration
public AnimatorStateTransition AddExitTransition()
Returns
Type Description
AnimatorStateTransition
| Improve this Doc View Source

AddExitTransition(Boolean)

Declaration
public AnimatorStateTransition AddExitTransition(bool defaultExitTime)
Parameters
Type Name Description
Boolean defaultExitTime
Returns
Type Description
AnimatorStateTransition
| Improve this Doc View Source

AddStateMachineBehaviour(Type)

Declaration
[TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)]
public StateMachineBehaviour AddStateMachineBehaviour(Type stateMachineBehaviourType)
Parameters
Type Name Description
Type stateMachineBehaviourType
Returns
Type Description
StateMachineBehaviour
| Improve this Doc View Source

AddStateMachineBehaviour<T>()

Declaration
public T AddStateMachineBehaviour<T>()
    where T : StateMachineBehaviour
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

AddTransition(AnimatorState)

Declaration
public AnimatorStateTransition AddTransition(AnimatorState destinationState)
Parameters
Type Name Description
AnimatorState destinationState
Returns
Type Description
AnimatorStateTransition
| Improve this Doc View Source

AddTransition(AnimatorState, Boolean)

Declaration
public AnimatorStateTransition AddTransition(AnimatorState destinationState, bool defaultExitTime)
Parameters
Type Name Description
AnimatorState destinationState
Boolean defaultExitTime
Returns
Type Description
AnimatorStateTransition
| Improve this Doc View Source

AddTransition(AnimatorStateMachine)

Declaration
public AnimatorStateTransition AddTransition(AnimatorStateMachine destinationStateMachine)
Parameters
Type Name Description
AnimatorStateMachine destinationStateMachine
Returns
Type Description
AnimatorStateTransition
| Improve this Doc View Source

AddTransition(AnimatorStateMachine, Boolean)

Declaration
public AnimatorStateTransition AddTransition(AnimatorStateMachine destinationStateMachine, bool defaultExitTime)
Parameters
Type Name Description
AnimatorStateMachine destinationStateMachine
Boolean defaultExitTime
Returns
Type Description
AnimatorStateTransition
| Improve this Doc View Source

AddTransition(AnimatorStateTransition)

Declaration
public void AddTransition(AnimatorStateTransition transition)
Parameters
Type Name Description
AnimatorStateTransition transition
| Improve this Doc View Source

GetMotion()

Declaration
[Obsolete("GetMotion() is obsolete. Use motion", true)]
public Motion GetMotion()
Returns
Type Description
Motion
| Improve this Doc View Source

RemoveTransition(AnimatorStateTransition)

Declaration
public void RemoveTransition(AnimatorStateTransition transition)
Parameters
Type Name Description
AnimatorStateTransition transition

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX