Example #1
0
 public void OnInitialized()
 {
     PanelSwitcher.SwitchPanel(PanelType.Title);
 }
Example #2
0
 public void OnGameStart()
 {
     PanelSwitcher.SwitchPanel(PanelType.InGame);
 }
Example #3
0
 /// <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);
 }