示例#1
0
 void OnAnimationEnd(M8.Animator.Animate anim, M8.Animator.Take take)
 {
     if (take.name == takeExit || take.name == takeCollect)
     {
         root.gameObject.SetActive(false);
     }
 }
示例#2
0
        public void PreviewTime(int takeIndex, float time)
        {
            Take curTake = sequenceCtrls[takeIndex].take;

            curTake.previewFrame(this, time * curTake.frameRate);
        }
示例#3
0
        public void PreviewFrame(int takeIndex, float frame)
        {
            Take curTake = sequenceCtrls[takeIndex].take;

            curTake.previewFrame(this, frame);
        }
示例#4
0
 public SequenceControl(ITarget itarget, int id, Take take)
 {
     target    = itarget;
     this.id   = id;
     this.take = take;
 }