Class TopologyExtensions
- Namespace
- Unity.Multiplayer.Core
Extension helpers for Topology.
public static class TopologyExtensions
- Inheritance
-
TopologyExtensions
- Inherited Members
Methods
HasLocalPlayer(Topology)
True when this process has a local player (Host or Client).
public static bool HasLocalPlayer(this Topology topology)
Parameters
topologyTopology
Returns
RunsServer(Topology)
True when this process runs the authoritative server (Host or Server).
public static bool RunsServer(this Topology topology)
Parameters
topologyTopology