Added a scene controller
This commit is contained in:
1 parent
498343a50c
commit
0fe0a52585
5 files changed
+61
-2
No files matched your search
@@ -1,3 +1,4 @@
|
||||
using Fruitomation.Game;
|
||||
using Fruitomation.Global;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine;
|
||||
@@ -19,6 +20,7 @@ namespace Fruitomation.UI
|
||||
UpgradesButton.onClick.AddListener(() =>
|
||||
{
|
||||
GameStateController.State = GameState.UpgradeMenu;
|
||||
SceneController.StartLoadOf("SampleScene");
|
||||
});
|
||||
|
||||
SimulateButton.onClick.AddListener(() =>
|
||||
|
||||
Reference in new issue
Block a user