void Start() { spawned = false; pool = GameObject.FindGameObjectWithTag("ItemPool").GetComponent <ItemPool>(); spawnPoint = GameObject.FindGameObjectWithTag("PedestalSpawn").transform; pool.ChooseItem(); Instantiate(pool.itemToSpawn, spawnPoint.position, Quaternion.identity); }