예제 #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;
 }