protected override void OnOpen(IUIData uiData = null) { Button.onClick.AddListener(() => { FadeClose(); UIKit.OpenPanel <UISelectStage>(); }); ButtonClr.onClick.AddListener(() => { GameDataManager.Clear(); }); ButtonSetting.onClick.AddListener(() => { FadeClose(); UIKit.OpenPanel <UISettings>(); }); ButtonSTAFF.onClick.AddListener(() => { FadeClose(); UIKit.OpenPanel <UISTAFF>(); }); ButtonQuit.onClick.AddListener(() => { #if UNITY_EDITOR UnityEditor.EditorApplication.isPlaying = false; #else Application.Quit(); #endif }); }