SpawnerSpawn(Int32, Vector3) Method

Spawn an new game object from index for all Users in the Room with position.

Definition

Namespace: Alteruna.Multiplayer.Unity
Assembly: Alteruna.Multiplayer.UnityFiles (in Alteruna.Multiplayer.UnityFiles.dll) Version: 1.0.0+c5328b35489e83c42e288435f5acf6115fd519e0
C#
public GameObject Spawn(
	int index,
	Vector3 position
)

Parameters

index  Int32
The index of the SpawnableObject to spawn.
position  Vector3
The position which the GameObject will be spawned with.

Return Value

GameObject

See Also