Class ConditionalActiveRelayToAnimator
This component transfers parameters to the Animator component of the specified object according to a predetermined sequence when the active state changes. The significant difference from the SequenceActiveRelayToAnimator is that different states can be specified for each turn on and off.
Inherited Members
Namespace: black.kit.toybox
Assembly: cs.temp.dll.dll
Syntax
public sealed class ConditionalActiveRelayToAnimator : ActiveRelayToAnimationBase
Remarks
Usage (in the inspector of Unity Editor):
- Add this component or prefab to the scene.
- Specify the parameter names of the animator.
- Specify the sequences.
Properties
CurrentBool
The current bool value of the animator.
Declaration
protected override bool CurrentBool { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
CurrentFloat
The current float value of the animator.
Declaration
protected override float CurrentFloat { get; }
Property Value
Type | Description |
---|---|
System.Single |
Overrides
CurrentInt
The current integer value of the animator.
Declaration
protected override int CurrentInt { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Methods
PostInitialize()
Initialize the hashes of the triggers parameter name.
Declaration
protected override void PostInitialize()
Overrides
PostSequence()
Update the sequence of the triggers parameter name.
Declaration
protected override void PostSequence()