last update
This commit is contained in:
@@ -26,6 +26,7 @@ public class GameSystem : MonoBehaviour
|
||||
[Space]
|
||||
[SerializeField] UIMainMenu mainMenu;
|
||||
[SerializeField] UICanvas trainsMenu;
|
||||
[SerializeField] UICanvas aboutMenu;
|
||||
[Space]
|
||||
public UICanvas trainEP2D;
|
||||
public UICanvas train2;
|
||||
@@ -101,6 +102,7 @@ public class GameSystem : MonoBehaviour
|
||||
FindObjectOfType<SceneHandler>().OnSceneLoaded.AddListener(()=>
|
||||
{
|
||||
mainMenu.gameObject.SetActive(true);
|
||||
aboutMenu.gameObject.SetActive(true);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -167,6 +169,7 @@ public class GameSystem : MonoBehaviour
|
||||
DontDestroyOnLoad(item.gameObject);
|
||||
|
||||
Instance = this;
|
||||
Screen.sleepTimeout = 0;
|
||||
}
|
||||
|
||||
void Start()
|
||||
|
||||
Reference in New Issue
Block a user