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(); }
public override void ReleaseResource() { EzGuiSetting.ReleaseEzGui(m_imgMainBoard); EzGuiSetting.ReleaseEzGui(m_imgBackground); EzGuiSetting.ReleaseEzGui(m_btnGameStart); EzGuiSetting.ReleaseEzGui(m_btnTab); ReleaseResourceObject(); }
private void Release_Kitty() { EzGuiSetting.ReleaseEzGui(m_imgKittyHead); EzGuiSetting.ReleaseEzGui(m_imgKittyLeg); if (m_objKittyLeg != null) { DestroyImmediate(m_objKittyLeg); } }
public override void ReleaseResource() { m_bBaseSizeX = -1; m_bBaseSizeY = -1; EzGuiSetting.ReleaseEzGui(m_imgPopupBoard); EzGuiSetting.ReleaseEzGui(m_imgPopupBackground); EzGuiSetting.ReleaseEzGui(m_btnPopupExit); ReleaseResourceObject(); }
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(); }
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(); }