Example #1
0
    public override void ReleaseResource()
    {
        if (m_scriptScore)
        {
            m_scriptScore.Release();
            GameObject.DestroyImmediate(m_scriptScore.gameObject);
        }
        EzGuiSetting.ReleaseEzGui(m_imgGameBoard);
        EzGuiSetting.ReleaseEzGui(m_btnAdvice);
        EzGuiSetting.ReleaseEzGui(m_btnPause);
        EzGuiSetting.ReleaseEzGui(m_btnPlay);
        if (m_btnItem != null)
        {
            for (int i = 0; i < m_btnItem.Length; i++)
            {
                EzGuiSetting.ReleaseEzGui(m_btnItem[i]);
            }
        }
        m_btnItem = null;
        if (m_txtItem != null)
        {
            for (int i = 0; i < m_txtItem.Length; i++)
            {
                EzGuiSetting.ReleaseEzGui(m_txtItem[i]);
            }
        }
        m_txtItem = null;

        ReleaseResourceObject();
    }
Example #2
0
 public override void ReleaseResource()
 {
     EzGuiSetting.ReleaseEzGui(m_imgMainBoard);
     EzGuiSetting.ReleaseEzGui(m_imgBackground);
     EzGuiSetting.ReleaseEzGui(m_btnGameStart);
     EzGuiSetting.ReleaseEzGui(m_btnTab);
     ReleaseResourceObject();
 }
Example #3
0
 private void Release_Kitty()
 {
     EzGuiSetting.ReleaseEzGui(m_imgKittyHead);
     EzGuiSetting.ReleaseEzGui(m_imgKittyLeg);
     if (m_objKittyLeg != null)
     {
         DestroyImmediate(m_objKittyLeg);
     }
 }
Example #4
0
    public override void ReleaseResource()
    {
        m_bBaseSizeX = -1;
        m_bBaseSizeY = -1;

        EzGuiSetting.ReleaseEzGui(m_imgPopupBoard);
        EzGuiSetting.ReleaseEzGui(m_imgPopupBackground);
        EzGuiSetting.ReleaseEzGui(m_btnPopupExit);
        ReleaseResourceObject();
    }
Example #5
0
    public override void ReleaseResource()
    {
        EzGuiSetting.ReleaseEzGui(m_imgAdviceBoard);
        EzGuiSetting.ReleaseEzGui(m_imgAdviceFilter);
        EzGuiSetting.ReleaseEzGui(m_imgAdviceHelp);
        EzGuiSetting.ReleaseEzGui(m_btnAdviceBefore);
        EzGuiSetting.ReleaseEzGui(m_btnAdviceNext);
        EzGuiSetting.ReleaseEzGui(m_btnAdviceExit);

        ReleaseResourceObject();
    }
Example #6
0
    public override void ReleaseResource()
    {
        if (m_scriptScore)
        {
            m_scriptScore.Release();
            GameObject.DestroyImmediate(m_scriptScore.gameObject);
        }
        EzGuiSetting.ReleaseEzGui(m_imgScoreBoard);
        EzGuiSetting.ReleaseEzGui(m_imgBackground);
        EzGuiSetting.ReleaseEzGui(m_btnGoReady);
        EzGuiSetting.ReleaseEzGui(m_btnGoMain);

        ReleaseResourceObject();
    }