Update project settings and scene management; modify asset paths and enable/disable platform-specific settings
This commit is contained in:
@@ -72,7 +72,7 @@ namespace Systems
|
||||
yield return new WaitUntil(() => StoreIsClosed);
|
||||
}
|
||||
|
||||
SceneManager.LoadScene(winScene.name);
|
||||
SceneManager.LoadScene("win");
|
||||
}
|
||||
|
||||
public void AddCoins(int amount)
|
||||
|
@@ -8,7 +8,7 @@ namespace UI
|
||||
{
|
||||
public class MainMenuUI : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private Object mainScene;
|
||||
[SerializeField] private String mainScene;
|
||||
[SerializeField] private Button exitButton;
|
||||
|
||||
private void OnEnable()
|
||||
@@ -26,7 +26,7 @@ namespace UI
|
||||
|
||||
public void StartGame()
|
||||
{
|
||||
SceneManager.LoadScene(mainScene.name);
|
||||
SceneManager.LoadScene(mainScene);
|
||||
}
|
||||
|
||||
public void ExitGame()
|
||||
|
Reference in New Issue
Block a user