Ejemplo n.º 1
0
        public override void Init()
        {
            View = base.View as GamePlayView;

            EventSystem.AddListener(EGameEvent.ShowGamePlayView, ShowView);
            EventSystem.AddListener(EGameEvent.HideGamePlayView, HideView);
        }
Ejemplo n.º 2
0
        public override void Init()
        {
            View = base.View as GamePlayView;

            EventSystem.AddListener(EGameEvent.ShowGamePlayView, ShowView);
            EventSystem.AddListener(EGameEvent.HideGamePlayView, HideView);
            EventSystem.AddListener <GSToGC.ReleasingSkillState>(EGameEvent.OnReceiveGameObjectReleaseSkill, OnReceiveGameObjectReleaseSkill);
            EventSystem.AddListener <GSToGC.RangeEffect>(EGameEvent.OnReceiveSkillModelRange, OnReceiveSkillModelRange);
        }