Class AnimatorStateMachine
Inheritance
AnimatorStateMachine
Assembly: UnityEditor.dll
Syntax
public sealed class AnimatorStateMachine : Object
Constructors
|
Improve this Doc
View Source
AnimatorStateMachine()
Declaration
public AnimatorStateMachine()
Properties
anyStatePosition
Declaration
public Vector3 anyStatePosition { get; set; }
Property Value
anyStateTransitions
Declaration
public AnimatorStateTransition[] anyStateTransitions { get; set; }
Property Value
behaviours
Declaration
public StateMachineBehaviour[] behaviours { get; set; }
Property Value
defaultState
Declaration
public AnimatorState defaultState { get; set; }
Property Value
entryPosition
Declaration
public Vector3 entryPosition { get; set; }
Property Value
entryTransitions
Declaration
public AnimatorTransition[] entryTransitions { get; set; }
Property Value
exitPosition
Declaration
public Vector3 exitPosition { get; set; }
Property Value
parentStateMachinePosition
Declaration
public Vector3 parentStateMachinePosition { get; set; }
Property Value
stateMachines
Declaration
public ChildAnimatorStateMachine[] stateMachines { get; set; }
Property Value
states
Declaration
public ChildAnimatorState[] states { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AddAnyStateTransition(AnimatorState)
Declaration
public AnimatorStateTransition AddAnyStateTransition(AnimatorState destinationState)
Parameters
Returns
|
Improve this Doc
View Source
AddAnyStateTransition(AnimatorStateMachine)
Declaration
public AnimatorStateTransition AddAnyStateTransition(AnimatorStateMachine destinationStateMachine)
Parameters
Returns
|
Improve this Doc
View Source
AddEntryTransition(AnimatorState)
Declaration
public AnimatorTransition AddEntryTransition(AnimatorState destinationState)
Parameters
Returns
|
Improve this Doc
View Source
AddEntryTransition(AnimatorStateMachine)
Declaration
public AnimatorTransition AddEntryTransition(AnimatorStateMachine destinationStateMachine)
Parameters
Returns
|
Improve this Doc
View Source
AddState(String)
Declaration
public AnimatorState AddState(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
AddState(String, Vector3)
Declaration
public AnimatorState AddState(string name, Vector3 position)
Parameters
Returns
|
Improve this Doc
View Source
AddState(AnimatorState, Vector3)
Declaration
public void AddState(AnimatorState state, Vector3 position)
Parameters
|
Improve this Doc
View Source
AddStateMachine(String)
Declaration
public AnimatorStateMachine AddStateMachine(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
AddStateMachine(String, Vector3)
Declaration
public AnimatorStateMachine AddStateMachine(string name, Vector3 position)
Parameters
Returns
|
Improve this Doc
View Source
AddStateMachine(AnimatorStateMachine, Vector3)
Declaration
public void AddStateMachine(AnimatorStateMachine stateMachine, Vector3 position)
Parameters
|
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
AddStateMachineExitTransition(AnimatorStateMachine)
Declaration
public AnimatorTransition AddStateMachineExitTransition(AnimatorStateMachine sourceStateMachine)
Parameters
Returns
|
Improve this Doc
View Source
AddStateMachineTransition(AnimatorStateMachine)
Declaration
public AnimatorTransition AddStateMachineTransition(AnimatorStateMachine sourceStateMachine)
Parameters
Returns
|
Improve this Doc
View Source
AddStateMachineTransition(AnimatorStateMachine, AnimatorState)
Declaration
public AnimatorTransition AddStateMachineTransition(AnimatorStateMachine sourceStateMachine, AnimatorState destinationState)
Parameters
Returns
|
Improve this Doc
View Source
AddStateMachineTransition(AnimatorStateMachine, AnimatorStateMachine)
Declaration
public AnimatorTransition AddStateMachineTransition(AnimatorStateMachine sourceStateMachine, AnimatorStateMachine destinationStateMachine)
Parameters
Returns
GetStateMachineTransitions(AnimatorStateMachine)
Declaration
public AnimatorTransition[] GetStateMachineTransitions(AnimatorStateMachine sourceStateMachine)
Parameters
Returns
MakeUniqueStateMachineName(String)
Declaration
public string MakeUniqueStateMachineName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
MakeUniqueStateName(String)
Declaration
public string MakeUniqueStateName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
RemoveAnyStateTransition(AnimatorStateTransition)
Declaration
public bool RemoveAnyStateTransition(AnimatorStateTransition transition)
Parameters
Returns
|
Improve this Doc
View Source
RemoveEntryTransition(AnimatorTransition)
Declaration
public bool RemoveEntryTransition(AnimatorTransition transition)
Parameters
Returns
|
Improve this Doc
View Source
RemoveState(AnimatorState)
Declaration
public void RemoveState(AnimatorState state)
Parameters
|
Improve this Doc
View Source
RemoveStateMachine(AnimatorStateMachine)
Declaration
public void RemoveStateMachine(AnimatorStateMachine stateMachine)
Parameters
|
Improve this Doc
View Source
RemoveStateMachineTransition(AnimatorStateMachine, AnimatorTransition)
Declaration
public bool RemoveStateMachineTransition(AnimatorStateMachine sourceStateMachine, AnimatorTransition transition)
Parameters
Returns
SetStateMachineTransitions(AnimatorStateMachine, AnimatorTransition[])
Declaration
public void SetStateMachineTransitions(AnimatorStateMachine sourceStateMachine, AnimatorTransition[] transitions)
Parameters
Extension Methods