Click or drag to resize

NetworkedObjectSpawnWithOwnership Method

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

Spawns an object across the network with a given owner. Can only be called from server

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

Parameters

clientId
Type: SystemUInt32
The clientId to own the object
spawnPayload (Optional)
Type: System.IOStream
The writer containing the spawn payload
See Also