public void OnInitialized() { PanelSwitcher.SwitchPanel(PanelType.Title); }
public void OnGameStart() { PanelSwitcher.SwitchPanel(PanelType.InGame); }
/// <summary> /// Virtual OnAction method /// Defeault is to switch to the main panel /// </summary> public virtual void OnAction() { Debug.Log("Switch to main"); panelSwitcher.SwitchPanel(Panels.Main); }