Inventory Engine
v3.8
|
This class will let you mirror the behaviour of an Animator's parameters on a Source Animator onto the ones of a Target Animator. More...
Inherits MonoBehaviour.
Classes | |
struct | MMAnimatorMirrorBind |
a struct used to store bindings More... | |
Public Member Functions | |
virtual void | Initialization () |
Stores animation parameters hashes More... | |
Public Attributes | |
Animator | SourceAnimator |
the animator to mirror More... | |
Animator | TargetAnimator |
the animator to mirror to More... | |
Protected Member Functions | |
virtual void | Awake () |
On Awake we initialize More... | |
virtual void | Update () |
On Update we mirror our behaviours More... | |
virtual void | Mirror () |
Copies animation parameter states from one animator to the other More... | |
Protected Attributes | |
AnimatorControllerParameter[] | _sourceParameters |
AnimatorControllerParameter[] | _targetParameters |
List< MMAnimatorMirrorBind > | _updateParameters |
This class will let you mirror the behaviour of an Animator's parameters on a Source Animator onto the ones of a Target Animator.
Target will mirror Source. Only the parameters existing on both Target and Source will be considered, you'll need to have the same on both before entering runtime.
|
protectedvirtual |
On Awake we initialize
|
virtual |
Stores animation parameters hashes
|
protectedvirtual |
Copies animation parameter states from one animator to the other
|
protectedvirtual |
On Update we mirror our behaviours
|
protected |
|
protected |
|
protected |
Animator MoreMountains.Tools.MMAnimatorMirror.SourceAnimator |
the animator to mirror
Animator MoreMountains.Tools.MMAnimatorMirror.TargetAnimator |
the animator to mirror to