Fix json net for unity Vectors
This is an edit for the json.net library I downloaded from nuget. Original: https://github.com/obarlik/Json.Net
-
Create a JsonNet folder in your project
-
Copy all the contents
-
Use: using Json.Net;
-
Example:
string jstr = JsonNet.Serialize(new Vector3(13, 66, 66)) Vector3 res = JsonNet.Deserialize(jstr);