diff options
Diffstat (limited to 'WorldlineKeepers/Assets/ThirdParty/LitJson/JsonMapper.cs')
-rw-r--r-- | WorldlineKeepers/Assets/ThirdParty/LitJson/JsonMapper.cs | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/WorldlineKeepers/Assets/ThirdParty/LitJson/JsonMapper.cs b/WorldlineKeepers/Assets/ThirdParty/LitJson/JsonMapper.cs index 3a09a87..6f79c65 100644 --- a/WorldlineKeepers/Assets/ThirdParty/LitJson/JsonMapper.cs +++ b/WorldlineKeepers/Assets/ThirdParty/LitJson/JsonMapper.cs @@ -414,35 +414,35 @@ namespace LitJson } if (inst_type == typeof(UnityEngine.Vector4)) { - return DNA.CommonParse.ParseVector4(reader.Value.ToString()); + return WK.CommonParse.ParseVector4(reader.Value.ToString()); } if (inst_type == typeof(UnityEngine.Vector3)) { - return DNA.CommonParse.ParseVector3(reader.Value.ToString()); + return WK.CommonParse.ParseVector3(reader.Value.ToString()); } if (inst_type == typeof(UnityEngine.Vector2)) { - return DNA.CommonParse.ParseVector2(reader.Value.ToString()); + return WK.CommonParse.ParseVector2(reader.Value.ToString()); } - if (inst_type == typeof(DNA.IntVector4)) + if (inst_type == typeof(WK.IntVector4)) { - return DNA.CommonParse.ParseIntVector4(reader.Value.ToString()); + return WK.CommonParse.ParseIntVector4(reader.Value.ToString()); } - if (inst_type == typeof(DNA.IntVector3)) + if (inst_type == typeof(WK.IntVector3)) { - return DNA.CommonParse.ParseIntVector3(reader.Value.ToString()); + return WK.CommonParse.ParseIntVector3(reader.Value.ToString()); } - if (inst_type == typeof(DNA.IntVector2)) + if (inst_type == typeof(WK.IntVector2)) { - return DNA.CommonParse.ParseIntVector2(reader.Value.ToString()); + return WK.CommonParse.ParseIntVector2(reader.Value.ToString()); } if (inst_type == typeof(UnityEngine.Color)) { - return DNA.CommonParse.ParseColor(reader.Value.ToString()); + return WK.CommonParse.ParseColor(reader.Value.ToString()); } if (inst_type == typeof(UnityEngine.Color32)) { - return DNA.CommonParse.ParseColor32(reader.Value.ToString()); + return WK.CommonParse.ParseColor32(reader.Value.ToString()); } //========================================== @@ -560,7 +560,7 @@ namespace LitJson object keyObj = property; if (t_data.GenericKeyType == typeof(int)) { - keyObj = DNA.CommonParse.ParseInt(property); + keyObj = WK.CommonParse.ParseInt(property); } ((IDictionary) instance).Add ( @@ -827,21 +827,21 @@ namespace LitJson writer.Write((UnityEngine.Vector2)obj); return; } - if (obj is DNA.IntVector4) + if (obj is WK.IntVector4) { - writer.Write((DNA.IntVector4)obj); + writer.Write((WK.IntVector4)obj); return; } - if (obj is DNA.IntVector3) + if (obj is WK.IntVector3) { - writer.Write((DNA.IntVector3)obj); + writer.Write((WK.IntVector3)obj); return; } - if (obj is DNA.IntVector2) + if (obj is WK.IntVector2) { - writer.Write((DNA.IntVector2)obj); + writer.Write((WK.IntVector2)obj); return; } |