private void OnDisable() { DestroyImmediate(gameObject); editorCoroutine.Destroy(); dialogue.SubtitleSystem.OnShowText -= this.OnShowText; dialogue.SubtitleSystem.OnClearText -= this.OnClearText; }
private void OnDisable() { DestroyImmediate(gameObject); editorCoroutine.Destroy(); dialogue.SubtitleSystem.OnShowText -= this.OnShowText; dialogue.SubtitleSystem.OnClearText -= this.OnClearText; }