diff options
author | chai <215380520@qq.com> | 2023-05-26 19:12:36 +0800 |
---|---|---|
committer | chai <215380520@qq.com> | 2023-05-26 19:12:36 +0800 |
commit | 38e177b0fdf130d6a361ab51c80b5b56ee83f28e (patch) | |
tree | 004cbaedc5a7be0b84bc4e05335800775f74e642 /WorldlineKeepers/Assets/Scripts/UI/Panels/PanelEntries/PanelEntries.cs | |
parent | 5bb5da4caebfdc8627e331b4eb5c53457316ec44 (diff) |
*misc
Diffstat (limited to 'WorldlineKeepers/Assets/Scripts/UI/Panels/PanelEntries/PanelEntries.cs')
-rw-r--r-- | WorldlineKeepers/Assets/Scripts/UI/Panels/PanelEntries/PanelEntries.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/WorldlineKeepers/Assets/Scripts/UI/Panels/PanelEntries/PanelEntries.cs b/WorldlineKeepers/Assets/Scripts/UI/Panels/PanelEntries/PanelEntries.cs new file mode 100644 index 0000000..24522aa --- /dev/null +++ b/WorldlineKeepers/Assets/Scripts/UI/Panels/PanelEntries/PanelEntries.cs @@ -0,0 +1,28 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +namespace WK.UI +{ + + public class PanelEntries : PanelBase + { + public Button m_BtnDojo; + + protected override void OnAwake() + { + base.OnAwake(); + + m_BtnDojo.onClick.AddListener(OnClickDojo); + } + + private void OnClickDojo() + { + GameStageManager.Instance.AsyncLoadStage(EGameStage.Dojo); + } + + + } + +};
\ No newline at end of file |