Horje
unity json save array Code Example
unity json save array
public class MyArray {
	public T[] array;
}

var class = new MyArray();
var outputString = JsonUtility.ToJson(class);
File.WriteAllText("C:\\MyFile.json", outputString);

//In reverse, you can deserialize anything doing this:
var inputString = File.ReadAllText("C:\\MyFile.json");
var class = JsonUtility.FromJson<MyArray>(inputString);




Csharp

Related
c# random generator Code Example c# random generator Code Example
c# get distance Code Example c# get distance Code Example
c# socket bind to localhost Code Example c# socket bind to localhost Code Example
unity lookrotation lerp Code Example unity lookrotation lerp Code Example
c# ipaddress from localhost Code Example c# ipaddress from localhost Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9