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)); } }
public override void Start(Viewer viewer) { this.viewer = viewer; actor = viewer.ActiveActors.First(x => x.ActorInfo.Name == actor.ActorInfo.Name); coroutine = viewer.StartCoroutine(GetEnumerator()); }
public override void Start(Viewer viewer) { viewer.StartCoroutine(GetEnumerator()); }