Пример #1
0
    protected override void OnOpen()
    {
        InitComponent();

        base.OnOpen();
        if (skillAwakeRoot)
        {
            _skillAwake = SubWindowBase.CreateSubWindow <SkillAwakePanel, Window_Awake>(this, skillAwakeRoot.gameObject);
        }
        _numberPanel = SubWindowBase.CreateSubWindow <PropNumber_Panel>(this, numberPanelRoot?.gameObject);
        _numberPanel.Initialize();
        _numberPanel.Set(false);
    }
Пример #2
0
    protected override void OnOpen()
    {
        InitComponent();
        MultiLangrage();
        base.OnOpen();
        numberPanel = SubWindowBase.CreateSubWindow <PropNumber_Panel>(this, numberPanelRoot?.gameObject);
        numberPanel?.Initialize();
        moduleGlobal.ShowGlobalLayerDefault();

        heart?.onClick.AddListener(OnHeartClick);
        skill?.onClick.AddListener(OnSkillClick);
        energy?.onClick.AddListener(OnEnergyClick);
        accompary?.onClick.AddListener(OnAccomparyClick);

        moduleAwake.RequestAwakeInfo();
    }
Пример #3
0
 protected override void OnShow(bool forward)
 {
     numberPanel?.Initialize();
 }