Method SpawnObject
SpawnObject(GameObject, NetworkManager, bool)
Overloaded method SpawnObject(NetworkObject, NetworkManager, bool)
Declaration
protected GameObject SpawnObject(GameObject prefabGameObject, NetworkManager owner, bool destroyWithScene = false)
Parameters
Type | Name | Description |
---|---|---|
GameObject | prefabGameObject | |
NetworkManager | owner | |
bool | destroyWithScene |
Returns
Type | Description |
---|---|
GameObject |