Friday 18 October 2013

Unit creation inside unity

Multiple units can be created from one building by adding the name of the prefab to the actions method in the buildings own script (In this case MechFactory). The prefabs also need to be added to the GameObjectList which keeps track of all the units and buildings within the game.



No comments:

Post a Comment