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

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