Esempio n. 1
0
        public void DoSkillRelease(AbstractSkillSystem system, ISkillReleaser releaser)
        {
            //Log.i("OnSkillRelease");
            m_SkillSystem   = system;
            m_SkillReleaser = releaser;

            OnSkillRelease();

            if (m_SkillReleaser != null)
            {
                m_SkillReleaser.OnSkillRelease(this);
            }
        }
Esempio n. 2
0
        public void DoSkillRemove()
        {
            //Log.i("OnSkillRemove");
            OnSkillRemove();

            if (m_SkillReleaser != null)
            {
                m_SkillReleaser.OnSkillRemove(this);
                m_SkillReleaser = null;
            }

            m_SkillSystem = null;
            m_SkillInfo   = null;
        }