Class UnityTransportTestHelpers
Inheritance
UnityTransportTestHelpers
Assembly: solution.dll
Syntax
public static class UnityTransportTestHelpers
Fields
MaxNetworkEventWaitTime
Declaration
public const float MaxNetworkEventWaitTime = 0.5
Field Value
Methods
InitializeTransport(out UnityTransport, out List<TransportEvent>, int, int, NetworkFamily)
Declaration
public static void InitializeTransport(out UnityTransport transport, out List<UnityTransportTestHelpers.TransportEvent> events, int maxPayloadSize = 6144, int maxSendQueueSize = 0, NetworkFamily family = NetworkFamily.Ipv4)
Parameters
WaitForNetworkEvent(NetworkEvent, List<TransportEvent>, float)
Declaration
public static IEnumerator WaitForNetworkEvent(NetworkEvent type, List<UnityTransportTestHelpers.TransportEvent> events, float timeout = 0.5)
Parameters
Returns