Skip to main content

Unity.Networking.Transport.Utilities.RandomHelpers

A simple method to obtain a random ushort provided by the class.

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Inherited Members#

Object.Equals(Object)

Object.Equals(Object, Object)

Object.GetHashCode()

Object.GetType()

Object.MemberwiseClone()

Object.ReferenceEquals(Object, Object)

Object.ToString()

Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
public static class RandomHelpers

GetRandomULong()#

Declaration#

public static ulong GetRandomULong()

Returns#

TypeDescription
System.UInt64a ushort in [1..uint.MaxValue - 1] range

GetRandomUShort()#

Declaration#

public static ushort GetRandomUShort()

Returns#

TypeDescription
System.UInt16a ushort in [1..ushort.MaxValue - 1] range