conveyorPO

This commit is contained in:
Janis
2022-06-05 10:52:27 +02:00
parent a31c6a16dd
commit 831f1423b5
21 changed files with 473 additions and 17 deletions

View File

@@ -39,6 +39,13 @@ public class PlayerController : MonoBehaviour
GridBuildingSystem.instance.SelectMovingPlacedObject(postion);
movingMode = false;
}
//! DEBUG SPAWNING ITEMS
if (Input.GetKeyDown(KeyCode.Y))
{
Vector3 postion = cam.ScreenToWorldPoint(Input.mousePosition);
ItemDictionary.instance.entries[0].Spawn(postion);
}
}
public void ToggleDemolishMode()