Exemplo n.º 1
0
 public static double?ReadDoubleNullable(this NetworkReader reader) => reader.ReadBlittableNullable <double>();
Exemplo n.º 2
0
 public static ulong?ReadULongNullable(this NetworkReader reader) => reader.ReadBlittableNullable <ulong>();
Exemplo n.º 3
0
 public static float?ReadFloatNullable(this NetworkReader reader) => reader.ReadBlittableNullable <float>();
Exemplo n.º 4
0
 public static ushort?ReadUShortNullable(this NetworkReader reader) => reader.ReadBlittableNullable <ushort>();
Exemplo n.º 5
0
 public static uint?ReadUIntNullable(this NetworkReader reader) => reader.ReadBlittableNullable <uint>();
Exemplo n.º 6
0
 public static char?ReadCharNullable(this NetworkReader reader) => (char?)reader.ReadBlittableNullable <ushort>();
Exemplo n.º 7
0
        public static bool?ReadBoolNullable(this NetworkReader reader)
        {
            byte?value = reader.ReadBlittableNullable <byte>();

            return(value.HasValue ? (value.Value != 0) : default(bool?));
        }
Exemplo n.º 8
0
 public static Matrix4x4?ReadMatrix4x4Nullable(this NetworkReader reader) => reader.ReadBlittableNullable <Matrix4x4>();
Exemplo n.º 9
0
 public static sbyte?ReadSByteNullable(this NetworkReader reader) => reader.ReadBlittableNullable <sbyte>();
Exemplo n.º 10
0
 public static Plane?ReadPlaneNullable(this NetworkReader reader) => reader.ReadBlittableNullable <Plane>();
Exemplo n.º 11
0
 public static Ray?ReadRayNullable(this NetworkReader reader) => reader.ReadBlittableNullable <Ray>();
Exemplo n.º 12
0
 public static Rect?ReadRectNullable(this NetworkReader reader) => reader.ReadBlittableNullable <Rect>();
Exemplo n.º 13
0
 public static Quaternion?ReadQuaternionNullable(this NetworkReader reader) => reader.ReadBlittableNullable <Quaternion>();
Exemplo n.º 14
0
 public static Color32?ReadColor32Nullable(this NetworkReader reader) => reader.ReadBlittableNullable <Color32>();
Exemplo n.º 15
0
 public static Vector3Int?ReadVector3IntNullable(this NetworkReader reader) => reader.ReadBlittableNullable <Vector3Int>();
Exemplo n.º 16
0
 public static decimal?ReadDecimalNullable(this NetworkReader reader) => reader.ReadBlittableNullable <decimal>();