Added a scene controller
This commit is contained in:
@@ -28,7 +28,6 @@ namespace Fruitomation.Game
|
||||
|
||||
[UsedImplicitly, Preserve, InspectorCallable("Click Building")] public void OnBuildingClicked()
|
||||
{
|
||||
Debug.Log($"Building clicked {gameObject.name}");
|
||||
if (GameStateController.Is(GameState.Editing))
|
||||
{
|
||||
Manager.RemoveBuilding(this);
|
||||
|
||||
Reference in New Issue
Block a user