SpawnerSpawn(Int32, Vector3) Method
Spawn an new game object from index for all Users in the Room with position.
Namespace: Alteruna.MultiplayerAssembly: Alteruna (in Alteruna.dll) Version: 2.0.2+dcdb8fba58ad1eb99205b1dc6265fd5b3b7cf8ec
public GameObject Spawn(
int index,
Vector3 position
)
- index Int32
- The index of the SpawnableObject to spawn.
- position Vector3
- The position which the GameObject will be spawned with.
GameObject