Exemplo n.º 1
0
 public void ReturnToTitle()
 {
     if (m_gameLogic != null)
     {
         Object.Destroy(m_gameLogic.gameObject);
         m_gameLogic = null;
         UIManager.Instance.PopScreen();
     }
     UIManager.Instance.OpenScreen("mg_bc_TitleScreen", toShowDarkMask: false, null, null);
 }
Exemplo n.º 2
0
 internal void SetLogic(mg_bc_GameLogic _logic)
 {
     m_gameLogic = _logic;
     m_gameLogic.Initialize();
 }