protected override void OnDisable()
        {
            base.OnDisable();

            CameraManager.UnRegister(this);
        }
示例#2
0
        protected override void OnDestroy()
        {
            base.OnDestroy();

            CameraManager.UnRegister(this);
        }
 void OnDestroy()
 {
     CameraManager.UnRegister(this);
 }