SpawnNetworkObject
Method
Spawns an instance of a networked prefab in the space.
Parameters
Parameter | Description |
---|---|
SpatialNetworkObject prefab | A prefab that has a |
Vector3? position | Optional initial position |
Quaternion? rotation | Optional initial rotation |