using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class ActionListUIPanel : UIPanelBase { public void OnLoadBtnClicked(int index) { YogaManager.Instance.LevelIndex = index; YogaManager.Instance.InitData(); LoadingManager.Instance.Load("YogaMain"); UIManager.Instance.ClearPanel(); } public void OnLoadSceneBtnClicked(string sceneName) { LoadingManager.Instance.Load(sceneName); UIManager.Instance.ClearPanel(); } public void OnBackBtnClicked() { UIManager.Instance.CloseCurrent(); UIManager.Instance.ShowPanel(); } }