Click or drag to resize

NetworkedObjectSpawnAsPlayerObject Method

[This is preliminary documentation and is subject to change.]

Spawns an object across the network and makes it the player object for the given client

Namespace:  MLAPI
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SpawnAsPlayerObject(
	uint clientId,
	Stream spawnPayload = null
)
Request Example View Source

Parameters

clientId
Type: SystemUInt32
The clientId whos player object this is
spawnPayload (Optional)
Type: System.IOStream
The writer containing the spawn payload
See Also