SpawnerSpawn(String, Vector3, Quaternion, Vector3) Method

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

Definition

Namespace: Alteruna
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public GameObject Spawn(
	string name,
	Vector3 position,
	Quaternion rotation,
	Vector3 scale
)

Parameters

name  String
name or Asset path.
position  Vector3
The position which the GameObject will be spawned with.
rotation  Quaternion
The rotation which the GameObject will be spawned with.
scale  Vector3
The scale which the GameObject will be spawned with.

Return Value

GameObject

See Also