Delegate NetworkObject.VisibilityDelegate
Delegate type for checking visibility.
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public delegate bool NetworkObject.VisibilityDelegate(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. |