コード例 #1
0
ファイル: Window_Awake.cs プロジェクト: NoeCalmness/CoreFrame
    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;
        }
    }
コード例 #2
0
 protected override void OnHide(bool forward)
 {
     numberPanel?.UnInitialize();
 }