Method SpawnObjects
SpawnObjects(GameObject, NetworkManager, int, bool)
Overloaded method SpawnObjects(NetworkObject, NetworkManager, int, bool)
Declaration
protected List<GameObject> SpawnObjects(GameObject prefabGameObject, NetworkManager owner, int count, bool destroyWithScene = false)
Parameters
Type | Name | Description |
---|---|---|
GameObject | prefabGameObject | |
NetworkManager | owner | |
int | count | |
bool | destroyWithScene |
Returns
Type | Description |
---|---|
List<GameObject> |