void OnDestroy() { SetHeroActive(true); onCameraPlay = null; onDialogPlay = null; m_instance = null; StroyLineDataManager.Instance.GetNpcList.Clear(); }
public void RemoveCameraDelegate(StroyCameraDelegate del) { onCameraPlay -= del; }
public void AddCameraDelegate(StroyCameraDelegate del) { onCameraPlay += del; }