Class OnAnimatorIK
Called by the Animator Component immediately before it updates its internal IK system. This callback can be used to set the positions of the IK goals and their respective weights.
Inheritance
OnAnimatorIK
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Events/Animation")]
public sealed class OnAnimatorIK : GameObjectEventUnit<int>, IGraphElementWithData, IGraphEventHandler<int>, IGameObjectEventUnit, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IGraphEventListener
Properties
hookName
Declaration
protected override string hookName { get; }
Property Value
| Type | Description |
|---|---|
| String |
Overrides
Unity.VisualScripting.GameObjectEventUnit<System.Int32>.hookName
layerIndex
The index of the layer on which the IK solver is called.
Declaration
[DoNotSerialize]
public ValueOutput layerIndex { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Overrides
Unity.VisualScripting.GameObjectEventUnit<System.Int32>.MessageListenerType
Methods
AssignArguments(Flow, Int32)
Declaration
protected override void AssignArguments(Flow flow, int layerIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow | |
| Int32 | layerIndex |
Overrides
Unity.VisualScripting.EventUnit<System.Int32>.AssignArguments(Unity.VisualScripting.Flow, System.Int32)
Definition()
Declaration
protected override void Definition()
Overrides
Unity.VisualScripting.GameObjectEventUnit<System.Int32>.Definition()