DummyAnimancerComponent Class

Summary

[Editor-Only] An Animancer.IAnimancerComponent which isn't actually a UnityEngine.Component.
Assembly
Animancer.dll
Namespace
Animancer.Editor.Previews
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IAnimancerComponent"] click Interface0 "/animancer/api/Animancer/IAnimancerComponent" Type["DummyAnimancerComponent"] class Type type-node

Syntax

public class DummyAnimancerComponent : IAnimancerComponent

Constructors

Name Summary
DummyAnimancerComponent(Animator, AnimancerGraph) Creates a new Animancer.Editor.Previews.DummyAnimancerComponent.

Properties

Name Value Summary
ActionOnDisableFieldName 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.
Graph AnimancerGraph
The internal system which manages the playing animations.
InitialUpdateMode Nullable<AnimatorUpdateMode>
[Editor-Only] The Animancer.IAnimancerComponent.UpdateMode that was first used when this script initialized.
IsGraphInitialized bool
Has the Animancer.IAnimancerComponent.Graph been initialized?
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(AnimationClip) Object
Returns the dictionary key to use for the `clip`.
ToString() string
Describes this and the Animancer.Editor.Previews.DummyAnimancerComponent.Animator.