Method NetworkShow
NetworkShow(ulong)
Makes the previously hidden NetworkObject "netcode visible" to the targeted client.
Declaration
public void NetworkShow(ulong clientId)
Parameters
Type | Name | Description |
---|---|---|
ulong | clientId | The targeted client |
Remarks
Usage: Use to start sending updates for a previously hidden NetworkObject to the targeted client.
Dynamically Spawned: NetworkObjects will be instantiated and spawned on the targeted client side.
In-Scene Placed: The instantiated but despawned NetworkObjects will be spawned on the targeted client side.
See Also:
NetworkShow(ulong)
NetworkHide(ulong) or NetworkHide(List<NetworkObject>, ulong)
NetworkShow(List<NetworkObject>, ulong)
Makes a list of previously hidden NetworkObjects "netcode visible" for the client specified.
Declaration
public static void NetworkShow(List<NetworkObject> networkObjects, ulong clientId)
Parameters
Type | Name | Description |
---|---|---|
List<NetworkObject> | networkObjects | The objects to become "netcode visible" to the targeted client |
ulong | clientId | The targeted client |
Remarks
Usage: Use to start sending updates for previously hidden NetworkObjects to the targeted client.
Dynamically Spawned: NetworkObjects will be instantiated and spawned on the targeted client's side.
In-Scene Placed: Already instantiated but despawned NetworkObjects will be spawned on the targeted client's side.
See Also:
NetworkShow(ulong)
NetworkHide(ulong) or NetworkHide(List<NetworkObject>, ulong)