Skip to content
RED SAG Skills
easy5 pts · first answer countsgame-enginesunity

Changing the spawned enemy

You write Instantiate(enemyPrefab) and then set enemyPrefab.GetComponent<Health>().hp = 50. The spawned enemy still has 100 hp. Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions