ending trial 1
This commit is contained in:
@@ -22,8 +22,7 @@ public class TreeSpawner : MonoBehaviour
|
||||
Vector3 spawnPos = transform.position + Vector3.down * treeHeight + new Vector3(0, 0.2f, 0);
|
||||
|
||||
treeCount++;
|
||||
Instantiate(treePrefab, spawnPos, Quaternion.identity);
|
||||
|
||||
GameObject newTree = Instantiate(treePrefab, spawnPos, Quaternion.identity);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user