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.
More...
|
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...
|
|
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.
◆ Awake()
virtual void MoreMountains.Tools.MMAnimatorMirror.Awake |
( |
| ) |
|
|
protectedvirtual |
◆ Initialization()
virtual void MoreMountains.Tools.MMAnimatorMirror.Initialization |
( |
| ) |
|
|
virtual |
Stores animation parameters hashes
◆ Mirror()
virtual void MoreMountains.Tools.MMAnimatorMirror.Mirror |
( |
| ) |
|
|
protectedvirtual |
Copies animation parameter states from one animator to the other
◆ Update()
virtual void MoreMountains.Tools.MMAnimatorMirror.Update |
( |
| ) |
|
|
protectedvirtual |
On Update we mirror our behaviours
◆ _sourceParameters
AnimatorControllerParameter [] MoreMountains.Tools.MMAnimatorMirror._sourceParameters |
|
protected |
◆ _targetParameters
AnimatorControllerParameter [] MoreMountains.Tools.MMAnimatorMirror._targetParameters |
|
protected |
◆ _updateParameters
◆ SourceAnimator
Animator MoreMountains.Tools.MMAnimatorMirror.SourceAnimator |
◆ TargetAnimator
Animator MoreMountains.Tools.MMAnimatorMirror.TargetAnimator |
the animator to mirror to
The documentation for this class was generated from the following file: