Class UnityTransportTestHelpers
Inheritance
UnityTransportTestHelpers
Syntax
public static class UnityTransportTestHelpers
Fields
MaxNetworkEventWaitTime
Declaration
public const float MaxNetworkEventWaitTime = 0.5F
Field Value
Methods
InitializeTransport(out UnityTransport, out List<UnityTransportTestHelpers.TransportEvent>, Int32)
Declaration
public static void InitializeTransport(out UnityTransport transport, out List<UnityTransportTestHelpers.TransportEvent> events, int maxPayloadSize = 6144)
Parameters
WaitForNetworkEvent(NetworkEvent, List<UnityTransportTestHelpers.TransportEvent>, Single)
Declaration
public static IEnumerator WaitForNetworkEvent(NetworkEvent type, List<UnityTransportTestHelpers.TransportEvent> events, float timeout = 0.5F)
Parameters
Returns