private void _ME(ModuleEvent <Module_Awake> e) { switch (e.moduleEvent) { case Module_Awake.Notice_AwakeInfoChange: Refresh(); break; case Module_Awake.Response_SkillOpen: ResponseSkillOpen(e.msg as ScAwakeSkillOpen); break; case Module_Awake.Notice_ShowSkillOpenPanel: if (_skillAwake == null) { Module_Awake.instance.RequestAwakeSkill(e.param1 as AwakeInfo); } else { _skillAwake.Initialize(e.param1, e.param2); } _numberPanel.UnInitialize(); break; } }
protected override void OnHide(bool forward) { numberPanel?.UnInitialize(); }