Пример #1
0
 private void OnDestroy()
 {
     mStateManager    = null;
     mUIShipCharacter = null;
     mUserInterfacePortInteriorManager = null;
     mUserInterfacePortMenuManager     = null;
     mBlur_Camera = null;
     if ((UnityEngine.Object)mParticleSystem_MarriagePetal != null)
     {
         mParticleSystem_MarriagePetal.Stop();
     }
     mParticleSystem_MarriagePetal     = null;
     mTransform_LayerPort              = null;
     mTransform_LayerOverlay           = null;
     mUIInteriorFurniturePreviewWaiter = null;
     mUIPortCameraControlMode          = null;
     mCamera_Overlay             = null;
     mCamera_MenuCamera          = null;
     mUserInterfaceOptionManager = null;
     mCommonDialog                = null;
     mUIMarriageConfirm           = null;
     mUserInterfaceJukeBoxManager = null;
     mPortManager        = null;
     mDeckModel          = null;
     mKeyController      = null;
     TutorialInstantiate = null;
 }
Пример #2
0
 public void Release()
 {
     this.mUIInteriorFurnitureChangeScrollList.SetKeyController(null);
     UserInterfacePortManager.ReleaseUtils.Release(ref this.mAudioClip_CommonEnter1, false);
     UserInterfacePortManager.ReleaseUtils.Release(ref this.mAudioClip_CommonCancel1, false);
     UserInterfacePortManager.ReleaseUtils.Release(ref this.mAudioClip_CommonCursolMove, false);
     UserInterfacePortManager.ReleaseUtils.Release(ref this.mAudioClip_CommonEnter2, false);
     this.mKeyController = null;
     this.mContext       = null;
     this.mStateManager  = null;
     this.mUIInteriorChangeFurnitureSelector   = null;
     this.mUIInteriorFurnitureDetail           = null;
     this.mUIInteriorFurnitureChangeScrollList = null;
     this.mUIInteriorFurniturePreviewWaiter    = null;
     this.mUserInterfacePortInteriorManager    = null;
 }
 private void OnDestroy()
 {
     mUIInteriorChangeFurnitureSelector   = null;
     mUIInteriorFurnitureDetail           = null;
     mUIInteriorFurnitureChangeScrollList = null;
     mUIInteriorFurniturePreviewWaiter    = null;
     mUserInterfacePortInteriorManager    = null;
     mTransform_MoveButton       = null;
     mAudioClip_CommonEnter1     = null;
     mAudioClip_CommonCancel1    = null;
     mAudioClip_CommonCursolMove = null;
     mAudioClip_CommonEnter2     = null;
     mKeyController   = null;
     mStateManager    = null;
     mInteriorManager = null;
     mContext         = null;
 }