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); } }
public void DoSkillRemove() { //Log.i("OnSkillRemove"); OnSkillRemove(); if (m_SkillReleaser != null) { m_SkillReleaser.OnSkillRemove(this); m_SkillReleaser = null; } m_SkillSystem = null; m_SkillInfo = null; }