Delegate NetworkObject.SpawnDelegate
Delegate type for checking spawn options
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public delegate bool NetworkObject.SpawnDelegate(ulong clientId)
Parameters
Type | Name | Description |
---|---|---|
ulong | clientId | The clientId to check spawn options for |
Returns
Type | Description |
---|---|
bool | True if the object should be spawned for the specified client, false otherwise |