mirror of
https://github.com/DerTyp7/fps-citybuild-unity.git
synced 2025-11-01 13:42:29 +01:00
added Warehouse
This commit is contained in:
@@ -8,12 +8,13 @@ public class ResourceManager: MonoBehaviour
|
||||
|
||||
private void Start()
|
||||
{
|
||||
storageBuildings = GameObject.FindGameObjectsWithTag("StorageBuilding");
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void Update()
|
||||
{
|
||||
storageBuildings = GameObject.FindGameObjectsWithTag("StorageBuilding");
|
||||
if (Input.GetKeyDown(KeyCode.K))
|
||||
{
|
||||
Item wood = new WoodItem(10);
|
||||
|
||||
Reference in New Issue
Block a user