void OnAnimationEnd(M8.Animator.Animate anim, M8.Animator.Take take) { if (take.name == takeExit || take.name == takeCollect) { root.gameObject.SetActive(false); } }
public void PreviewTime(int takeIndex, float time) { Take curTake = sequenceCtrls[takeIndex].take; curTake.previewFrame(this, time * curTake.frameRate); }
public void PreviewFrame(int takeIndex, float frame) { Take curTake = sequenceCtrls[takeIndex].take; curTake.previewFrame(this, frame); }
public SequenceControl(ITarget itarget, int id, Take take) { target = itarget; this.id = id; this.take = take; }