예제 #1
0
        public override void Start(Viewer viewer)
        {
            this.viewer = viewer;

            movements = entering ? GetEnter(Camera.main) : GetLeave(Camera.main);

            if (enterDirection == EnterDirection.Instant)
            {
                RequestSkip();
            }
            else
            {
                coroutine = viewer.StartCoroutine(GetEnumerator(movements));
            }
        }
예제 #2
0
파일: Emote.cs 프로젝트: RhythNS/Toybox
 public override void Start(Viewer viewer)
 {
     this.viewer = viewer;
     actor       = viewer.ActiveActors.First(x => x.ActorInfo.Name == actor.ActorInfo.Name);
     coroutine   = viewer.StartCoroutine(GetEnumerator());
 }
예제 #3
0
 public override void Start(Viewer viewer)
 {
     viewer.StartCoroutine(GetEnumerator());
 }