Summary
Interface for components that manage an
Animancer.AnimancerPlayable
.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Implementing Types
graph BT
Type["IAnimancerComponent"]
class Type type-node
Implementing0["NamedAnimancerComponent"]-.->Type
click Implementing0 "/animancer-v7-4/api/Animancer/NamedAnimancerComponent"
Implementing1["AnimancerEditorUtilities.DummyAnimancerComponent"]-.->Type
click Implementing1 "/animancer-v7-4/api/Animancer.Editor/DummyAnimancerComponent"
Implementing2["AnimancerComponent"]-.->Type
click Implementing2 "/animancer-v7-4/api/Animancer/AnimancerComponent"
Implementing3["HybridAnimancerComponent"]-.->Type
click Implementing3 "/animancer-v7-4/api/Animancer/HybridAnimancerComponent"
Syntax
public interface IAnimancerComponent
Remarks
Despite the name, this interface is not necessarily limited to only
UnityEngine.Component
s.
This interface allows Animancer Lite to reference an Animancer.AnimancerComponent
inside the pre-compiled
DLL while allowing that component to remain outside as a regular script. Otherwise everything would need to be
in the DLL which would cause Unity to lose all the script references when upgrading from Animancer Lite to Pro.
Documentation: Component Types
Properties
Name | Value | Summary |
---|---|---|
Action |
string |
[Editor-Only]
The name of the serialized backing field for the
Animancer.AnimancerComponent.ActionOnDisable property.
|
Animator | Animator |
The
UnityEngine.Animator component which this script controls. |
AnimatorFieldName | string |
[Editor-Only] The name of the serialized backing field for the
Animancer.IAnimancerComponent.Animator property. |
enabled | bool |
Will this component be updated?
|
gameObject | GameObject |
The
UnityEngine.GameObject this component is attached to. |
InitialUpdateMode | Nullable |
[Editor-Only] The
Animancer.IAnimancerComponent.UpdateMode that was first used when this script initialized. |
Is |
bool |
Has the
Animancer.IAnimancerComponent.Playable been initialized? |
Playable | AnimancerPlayable |
The internal system which manages the playing animations.
|
ResetOnDisable | bool |
Will the object be reset to its original values when disabled?
|
UpdateMode | AnimatorUpdateMode |
Determines when animations are updated and which time source is used. This property is mainly a wrapper
around the
UnityEngine.Animator.updateMode .
|
Methods
Name | Value | Summary |
---|---|---|
GetKey |
Object |
Returns the dictionary key to use for the `clip`.
|