Exemple #1
0
    // Use this for initialization
    void Start()
    {
        Debug.Log(JsonUtility.ToJson(new Example(), true));

        var serializedList = new SerializableList <Example> {
            new Example(),
            new Example()
        };

        Debug.Log(JsonUtility.ToJson(serializedList));
        Debug.Log(serializedList.ToJson());
    }