We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f80f7f4 commit c4f2639Copy full SHA for c4f2639
Assets/Colyseus/Runtime/Scripts/Serializer/Schema/Types/ColyseusReflection.cs
@@ -21,7 +21,7 @@ public class ReflectionField : Schema
21
public string type;
22
23
[Type(2, "number")]
24
- public float referencedType;
+ public float referencedType = -1;
25
}
26
27
/// <summary>
@@ -56,6 +56,6 @@ public class ColyseusReflection : Schema
56
public ArraySchema<ReflectionType> types = new ArraySchema<ReflectionType>();
57
58
[Type(1, "number")]
59
- public float rootType;
+ public float rootType = -1;
60
61
-}
+}
0 commit comments