Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimatorController.FindStateMachineBehaviourContext

Switch to Manual
public static function FindStateMachineBehaviourContext(behaviour: StateMachineBehaviour): StateMachineBehaviourContext[];

Parameters

behaviour The State Machine Behaviour to get context for.

Returns

StateMachineBehaviourContext[] Returns the State Machine Behaviour edition context.

Description

Use this function to retrieve the owner of this behaviour.

Please note that this function is very slow. It is not recommended to use this function every frame. See Also: StateMachineBehaviourContext.

no example available in JavaScript