SpawnerSpawn(Int32, Vector3, Vector3, Vector3) Method
Spawn an new game object from index for all Users in the Room using position, rotation, and scale.
Namespace: AlterunaAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
public GameObject Spawn(
int index,
Vector3 position,
Vector3 rotation,
Vector3 scale
)
- index Int32
- The index of the SpawnableObject to spawn.
- position Vector3
- The position which the GameObject will be spawned with.
- rotation Vector3
- The rotation which the GameObject will be spawned with.
- scale Vector3
- The scale which the GameObject will be spawned with.
GameObject