// Cinema Suite using UnityEngine; namespace CinemaDirector { /// /// Pause a given Cutscene. /// [CutsceneItem("Cutscene", "Pause Cutscene", CutsceneItemGenre.GlobalItem)] public class PauseCutscene : CinemaGlobalEvent { // The cutscene to be paused. public Cutscene cutscene; /// /// Pause the given Cutscene. /// public override void Trigger() { if (cutscene != null) { cutscene.Pause(); } } } }