SpawnerSpawn(String, Vector3, Quaternion) Method

Spawn a new object from name for all Users in the Room using position and rotation.

Definition

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

Parameters

name  String
 
position  Vector3
The position which the GameObject will be spawned with.
rotation  Quaternion
The rotation which the GameObject will be spawned with.

Return Value

GameObject

See Also