SpawnerSpawn(String, Vector3, Vector3, Vector3) Method
Spawn an new object from name for all Users in the Room using position, euler angles rotation, and scale.
Namespace: Alteruna.MultiplayerAssembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
public GameObject Spawn(
string name,
Vector3 position,
Vector3 rotation,
Vector3 scale
)
- name String
- name or Asset path.
- 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