Added a scene controller
This commit is contained in:
@@ -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