Example #1
0
        override public void dispose()
        {
            if (m_skelAnim != null)
            {
                Ctx.m_instance.m_skelAniMgr.unload(m_skelAnim.GetPath(), onLoaded);
                m_skelAnim = null;
            }

            m_skelLoadDisp.clearEventHandle();
        }
Example #2
0
 override public void dispose()
 {
     if (m_atlasScriptRes != null)
     {
         Ctx.m_instance.m_atlasMgr.unload(m_atlasScriptRes.GetPath(), null);
         m_atlasScriptRes = null;
     }
     m_playEndEventDispatch.clearEventHandle();
     base.dispose();
 }
Example #3
0
        override public void dispose()
        {
            if (m_selfGo != null)
            {
                UtilApi.Destroy(m_selfGo);
                m_selfGo = null;
            }

            if (m_modelRes != null)
            {
                Ctx.m_instance.m_modelMgr.unload(m_modelRes.GetPath(), null);
                m_modelRes = null;
            }

            m_modelInsDisp.clearEventHandle();
            m_modelInsDisp = null;

            base.dispose();
        }
Example #4
0
 override public void dispose()
 {
     m_attackEndDisp.clearEventHandle();
     m_attackEndDisp = null;
     base.dispose();
 }