/// <summary> /// 生命周期函数 /// </summary> #region // Use this for initialization private void Awake() { if (DanKai_CutSceneControllerInstance == null) { DanKai_CutSceneControllerInstance = this; } }
private void OnDestroy() { DanKai_ProjectObjectController.CutSceneEvent -= OperationCutsceneStart; DanKai_CutSceneControllerInstance = null; }