예제 #1
0
파일: ShopPanel.cs 프로젝트: zuojiashun/src
    public override void Release(bool depthRelease = true)
    {
        base.Release(depthRelease);
        RegisterGlobalEvent(false);
        ResetCacheLogicReturnJumpData();

        if (null != m_mallItemBaseGrid)
        {
            m_mallItemBaseGrid.Release(false);
        }

        if (null != m_ctor_CategoryTagContent)
        {
            m_ctor_CategoryTagContent.Release(depthRelease);
        }

        if (null != m_ctor_MallScrollView)
        {
            m_ctor_MallScrollView.Release(depthRelease);
        }

        if (null != m_costIconCASD)
        {
            m_costIconCASD.Release(depthRelease);
        }
        if (null != m_ownIconCASD)
        {
            m_ownIconCASD.Release(depthRelease);
        }
    }
예제 #2
0
 void OnInheritUIRelease()
 {
     if (null != m_curInHeritIconAsynSeed)
     {
         m_curInHeritIconAsynSeed.Release();
         m_curInHeritIconAsynSeed = null;
     }
     if (null != m_inheritNewIconAsynSeed)
     {
         m_inheritNewIconAsynSeed.Release();
         m_inheritNewIconAsynSeed = null;
     }
     if (null != m_inheritNewQuaAsynSeed)
     {
         m_inheritNewQuaAsynSeed.Release();
         m_inheritNewQuaAsynSeed = null;
     }
     if (null != m_inheritOldIconAsynSeed)
     {
         m_inheritOldIconAsynSeed.Release();
         m_inheritOldIconAsynSeed = null;
     }
     if (null != m_inheritOldQuaAsynSeed)
     {
         m_inheritOldQuaAsynSeed.Release();
         m_inheritOldQuaAsynSeed = null;
     }
 }
예제 #3
0
 public void ReleaseSkillBtn()
 {
     if (iuiIconAtlas != null)
     {
         iuiIconAtlas.Release();
         iuiIconAtlas = null;
     }
 }
예제 #4
0
 void ReleaseAtlas()
 {
     if (null != iuiIconAtlas)
     {
         iuiIconAtlas.Release(true);
         iuiIconAtlas = null;
     }
 }
예제 #5
0
 public void Release()
 {
     if (null != m_bgCASD)
     {
         m_bgCASD.Release(true);
         m_bgCASD = null;
     }
 }
예제 #6
0
 private void OnDestroy()
 {
     if (null != m_bgCASD)
     {
         m_bgCASD.Release(true);
         m_bgCASD = null;
     }
 }
예제 #7
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     if (null != m_iconCASD)
     {
         m_iconCASD.Release(true);
     }
 }
예제 #8
0
 void OnShuxingUIRelease()
 {
     if (m_curMedicanIconAsynSeed != null)
     {
         m_curMedicanIconAsynSeed.Release();
         m_curMedicanIconAsynSeed = null;
     }
 }
예제 #9
0
 public void ReleaseAutoSetting()
 {
     if (iuiIconAtlas != null)
     {
         iuiIconAtlas.Release();
         iuiIconAtlas = null;
     }
 }
예제 #10
0
 public void Release(bool depthRelease = true)
 {
     if (m_curIconAsynSeed != null)
     {
         m_curIconAsynSeed.Release(depthRelease);
         m_curIconAsynSeed = null;
     }
 }
예제 #11
0
 public void Release(bool depthRelease = true)
 {
     if (null != iuiIcon)
     {
         iuiIcon.Release(true);
         iuiIcon = null;
     }
 }
예제 #12
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     if (iuiIconAtlas != null)
     {
         iuiIconAtlas.Release();
     }
 }
예제 #13
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     if (null != m_iuiIconSeed)
     {
         m_iuiIconSeed.Release(true);
         m_iuiIconSeed = null;
     }
 }
예제 #14
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     if (m_playerAvataCASD != null)
     {
         m_playerAvataCASD.Release(depthRelease);
         m_playerAvataCASD = null;
     }
 }
예제 #15
0
 protected override void OnHide()
 {
     base.OnHide();
     if (null != m_CASD)
     {
         m_CASD.Release(true);
         m_CASD = null;
     }
 }
예제 #16
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     if (null != m_iconSeedData)
     {
         m_iconSeedData.Release(true);
         m_iconSeedData = null;
     }
 }
예제 #17
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     if (m_curIconAsynSeed != null)
     {
         m_curIconAsynSeed.Release(depthRelease);
         m_curIconAsynSeed = null;
     }
 }
예제 #18
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     if (null != iuiBorderAtlas)
     {
         iuiBorderAtlas.Release(true);
         iuiBorderAtlas = null;
     }
 }
예제 #19
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     m_LearnSkillInfo = null;
     if (null != m_qCASD)
     {
         m_qCASD.Release(true);
         m_qCASD = null;
     }
 }
예제 #20
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     if (null != m_playerAvataCASD)
     {
         m_playerAvataCASD.Release(true);
         m_playerAvataCASD = null;
     }
     m_datainfo = null;
 }
예제 #21
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     if (null != m_faceCASD)
     {
         m_faceCASD.Release();
         m_faceCASD = null;
     }
     ReleaseSkillPanel();
 }
예제 #22
0
    public override void Release(bool depthRelease = true)
    {
        base.Release(depthRelease);


        if (null != m_playerCASD)
        {
            m_playerCASD.Release();
            m_playerCASD = null;
        }
    }
예제 #23
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     if (m_priceAsynSeed_2 != null)
     {
         m_priceAsynSeed_2.Release(depthRelease);
     }
     if (m_priceAsynSeed != null)
     {
         m_priceAsynSeed.Release(depthRelease);
     }
 }
예제 #24
0
 void ReleseKnightTexture()
 {
     if (m_knightTextureSeed != null)
     {
         m_knightTextureSeed.Release();
         m_knightTextureSeed = null;
     }
     if (m_knightQualityIcon != null)
     {
         m_knightQualityIcon.Release();
         m_knightQualityIcon = null;
     }
 }
예제 #25
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     if (null != m_baseGrid)
     {
         m_baseGrid.Release(false);
     }
     if (null != m_exchangeCASD)
     {
         m_exchangeCASD.Release();
         m_exchangeCASD = null;
     }
 }
예제 #26
0
 public override void Release(bool depthRelease = true)
 {
     base.Release(depthRelease);
     //         if (m_ctor_DailyPushContent != null)
     //         {
     //             m_ctor_DailyPushContent.Release(depthRelease);
     //         }
     if (m_playerAvataCASD != null)
     {
         m_playerAvataCASD.Release(depthRelease);
         m_playerAvataCASD = null;
     }
 }
예제 #27
0
 public void ReleaseGrid(bool depth = true)
 {
     if (m_curIconAsynSeed != null)
     {
         m_curIconAsynSeed.Release(depth);
         m_curIconAsynSeed = null;
     }
     if (m_curQualityAsynSeed != null)
     {
         m_curQualityAsynSeed.Release(depth);
         m_curQualityAsynSeed = null;
     }
 }
예제 #28
0
    public void Release()
    {
        if (null != iuiIconAtlas)
        {
            iuiIconAtlas.Release(true);
            iuiIconAtlas = null;
        }

        if (iuiIconAtlas2 != null)
        {
            iuiIconAtlas2.Release(true);
            iuiIconAtlas2 = null;
        }
    }
예제 #29
0
 public static void GetAtlasAsyn(uint resID, ref CMResAsynSeedData <CMAtlas> seedData, Action releaseAction,
                                 UISprite sprite, string iconName, bool makePerfect = true)
 {
     if (null != seedData)
     {
         seedData.Release(true);
         seedData = null;
     }
     if (null == seedData)
     {
         seedData = new CMResAsynSeedData <CMAtlas>(releaseAction);
     }
     GetAtlasAsyn(resID, ref seedData, OnGetCMAtlasAsynDlg, sprite, iconName, makePerfect);
 }
예제 #30
0
    public void Release()
    {
        PetSkillItem[] items = GetComponentsInParent <PetSkillItem>();
        foreach (var item in items)
        {
            item.Release();
        }

        if (null != m_iconCASD)
        {
            m_iconCASD.Release();
            m_iconCASD = null;
        }
    }