Example #1
0
        void OnGUI()
        {
            if (GUI.Button(new Rect(5, 5, 180, 30), (Cinematics.IsActive ? "Stop" : "Start") + " Cinematics"))
            {
                if (Cinematics.IsActive)
                {
                    Cinematics.Stop();
                }
                else
                {
                    Cinematics.Play();
                }
            }

            if (Cinematics.IsActive)
            {
                if (GUI.Button(new Rect(195, 5, 40, 30), ">"))
                {
                    Cinematics.GoToNextTarget();
                }
            }
        }
 public void EndControllCutscene()
 {
     camCin.Stop();
     camCin.RemoveAllCinematicTargets();
 }
Example #3
0
 public void endCinematics()
 {
     Cinematics.Stop();
 }