/// <summary> /// Used by a cutscene graphic to unregister itself from the manager. /// </summary> /// <param name="cutsceneGraphic">CG object</param> public void UnregisterCG(CutsceneGraphic cutsceneGraphic) { if (this.cutsceneGraphic == cutsceneGraphic) { this.cutsceneGraphic = null; } }
/// <summary> /// Function used by cutscene graphic objects to register themselves to the manager. /// </summary> /// <param name="cutsceneGraphic">CG object</param> public void Register(CutsceneGraphic cutsceneGraphic) { this.cutsceneGraphic = cutsceneGraphic; }
/// <summary> /// Constructor /// </summary> public DialogueManager_v2() { this.dialogueBox = null; this.hintBox = null; this.cutsceneGraphic = null; }