示例#1
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     RegisterGlobalEvent(false);
     if (tabCreator != null)
     {
         tabCreator.Release(depthRelease);
     }
     if (m_ctor_Toggles != null)
     {
         m_ctor_Toggles.Release(depthRelease);
     }
     if (m_ctor_ItemGridScrollView != null)
     {
         m_ctor_ItemGridScrollView.Release(depthRelease);
     }
     if (m_ctor_PetGridScrollView != null)
     {
         m_ctor_PetGridScrollView.Release(depthRelease);
     }
     if (m_ctor_ItemListGrid != null)
     {
         m_ctor_ItemListGrid.Release(depthRelease);
     }
     if (m_ctor_SellListScrollViewContent != null)
     {
         m_ctor_SellListScrollViewContent.Release(depthRelease);
     }
     if (m_ctor_SellItemPriceList != null)
     {
         m_ctor_SellItemPriceList.Release(depthRelease);
     }
     if (mSecondTabCreator != null)
     {
         mSecondTabCreator.Release(depthRelease);
     }
     if (previous != null)
     {
         previous.Release(false);
     }
     if (m_sellItemGrid != null)
     {
         m_sellItemGrid.Release(false);
     }
     if (TargetBuyGrid != null)
     {
         TargetBuyGrid.Release(false);
     }
     SaleItemDataManager.ValueUpdateEvent -= SaleItemDataManager_ValueUpdateEvent;
 }