Use this class to offset an animation by a random range
More...
|
virtual void | Awake () |
| On awake we store our animator More...
|
|
virtual void | Start () |
| On Start we offset our animation More...
|
|
Use this class to offset an animation by a random range
◆ Awake()
virtual void MoreMountains.Tools.MMOffsetAnimation.Awake |
( |
| ) |
|
|
protectedvirtual |
On awake we store our animator
◆ OffsetCurrentAnimation()
virtual void MoreMountains.Tools.MMOffsetAnimation.OffsetCurrentAnimation |
( |
| ) |
|
|
virtual |
offsets the target animation
◆ Start()
virtual void MoreMountains.Tools.MMOffsetAnimation.Start |
( |
| ) |
|
|
protectedvirtual |
On Start we offset our animation
◆ _animator
Animator MoreMountains.Tools.MMOffsetAnimation._animator |
|
protected |
◆ _stateInfo
AnimatorStateInfo MoreMountains.Tools.MMOffsetAnimation._stateInfo |
|
protected |
◆ AnimationLayerID
int MoreMountains.Tools.MMOffsetAnimation.AnimationLayerID = 0 |
◆ DisableAfterOffset
bool MoreMountains.Tools.MMOffsetAnimation.DisableAfterOffset = true |
whether or not to self disable after offsetting
◆ MaximumRandomRange
float MoreMountains.Tools.MMOffsetAnimation.MaximumRandomRange = 1f |
the maximum amount (in seconds) by which to offset the animation
◆ MinimumRandomRange
float MoreMountains.Tools.MMOffsetAnimation.MinimumRandomRange = 0f |
the minimum amount (in seconds) by which to offset the animation
◆ OffsetOnStart
bool MoreMountains.Tools.MMOffsetAnimation.OffsetOnStart = true |
whether or not to apply that offset on Start
The documentation for this class was generated from the following file: