Class AnimationPreviewer
- Namespace
- Ceres.Gameplay.Animations
- Assembly
- Ceres.Gameplay.dll
MonoBehaviour to preview animation pose both in editor and play mode
public class AnimationPreviewer : MonoBehaviour
- Inheritance
-
AnimationPreviewer
Constructors
AnimationPreviewer()
public AnimationPreviewer()
Fields
animationClip
public AnimationClip animationClip
Field Value
animator
public Animator animator
Field Value
normalizedTime
public float normalizedTime
Field Value
Methods
IsPlaying()
public bool IsPlaying()
Returns
Preview()
public void Preview()
SetTime(float)
public void SetTime(float time)
Parameters
timefloat
Stop()
public void Stop()