Exemplo n.º 1
0
        override public void dispose()
        {
            base.dispose();

            if (m_jobNameImage != null)
            {
                m_jobNameImage.dispose();
            }

            if (m_spriteAni != null)
            {
                m_spriteAni.dispose();
                m_spriteAni = null;
            }

            if (m_spriteAni2 != null)
            {
                m_spriteAni2.dispose();
                m_spriteAni2 = null;
            }

            foreach (var ele in m_jobCardList)
            {
                ele.dispose();
            }
        }
Exemplo n.º 2
0
 override public void dispose()
 {
     base.dispose();
     Ctx.m_instance.m_dataPlayer.m_dzData.m_canReqDZ = true;
     if (m_skillImage != null)
     {
         m_skillImage.dispose();
     }
 }