|
Swarm Object Manager 1.6
Unity Object Manager
|
| SwarmItemManager.PrefabItem | This class is used to wrap the prefab so that you can set the maximum count for each item |
| SwarmItemManager.PrefabItemLists | This internal class represents the active and inactive lists of a SwarmItem type. Since SwarmItemManager's can handle multiple types of SwarmItems, there is an active and inactive list for each |
| SwarmItem | This class serves as the base for all swarm objects. SwarmItems are managed by a SwarmItemManager. A SwarmItem should be activated by its manager and killed through this class |
| SwarmItemManager | The SwarmItemManager handles SwarmItem objects. It actively recycles SwarmItems so that no garbage collection is necessary. It will dynamically add new objects as required, pulling from inactive lists if any recycled SwarmItems are available. You can have multiple SwarmItemManagers in a scene to handle different types of objects. Alternatively, you could handle all your object types within a single SwarmItemManager |
1.7.4