GameObject landscape = new GameObject("ENEMIES") ![]() private void GenerateEnemies(int xMax, int zMax) How can I instantiate the desired number of prefabs using the following code? I need to spawn ONE (and only one) player prefab, X enemies and ONE (and only one) end game prefab.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |