com.onlineobject.objectnet Namespace

NetworkManager..::..SpawnServerPlayer Method

Spawns a server player GameObject based on the configured spawn position mode.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public GameObject SpawnServerPlayer(

	IPlayer player

)

Parameters

player
Type: com.onlineobject.objectnet..::..IPlayer
Optional parameter representing the player to spawn. If null, a default player is spawned.

Return Value

The spawned player GameObject.