Example #1
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;
 }