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 being checked for visibility. |
Returns
Type | Description |
---|---|
bool | True if the object should be visible to the specified client and false if it should not. |