public virtual void Update() { if (Input.GetKeyDown(KeyCode.Alpha1)) { U_Timeline.Play(director, speed); } if (Input.GetKeyDown(KeyCode.Alpha2)) { U_Timeline.Pause(director); } if (Input.GetKeyDown(KeyCode.Alpha3)) { U_Timeline.Resume(director); } if (Input.GetKeyDown(KeyCode.Alpha4)) { U_Timeline.Stop(director); } if (Input.GetKeyDown(KeyCode.Alpha5)) { Debug.Log("开始倒放"); U_Timeline.Rewind(director, 2); } }
public void Resume() { U_Timeline.Resume(director); }