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, Int32, 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<UnityTransportTestHelpers.TransportEvent>, Single)
Declaration
public static IEnumerator WaitForNetworkEvent(NetworkEvent type, List<UnityTransportTestHelpers.TransportEvent> events, float timeout = 0.5F)
Parameters
Returns