Class ClientPortalStateSystem
Writes the server's portal reports into PortalClientStates, which the portals themselves read to choose how they look.
public static class ClientPortalStateSystem
- Inheritance
-
ClientPortalStateSystem
- Inherited Members
Remarks
Lives outside any panel and any character for the same reason as ClientInteractableStateSystem: a portal's state is world state. A SceneTeleporter portal has no NetworkObject, so there is no object a message could be addressed to; the report names the scene and index instead.
Methods
Destroy()
Unregisters them and forgets every reported state.
public static void Destroy()
Initialize(Client)
Registers the two portal broadcasts.
public static void Initialize(Client client)
Parameters
clientClient