This commit is contained in:
DerTyp187
2021-10-07 19:08:00 +02:00
parent ddd0b98b70
commit e058b1ce5b
21 changed files with 745 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SelectBuilding : MonoBehaviour
{
public GameObject select;
public void Select(GameObject select)
{
GameObject.Find("FirstPerson Player").GetComponent<BuildingPlacement>().prefab = select;
}
}