ToJson method to serialize it (convert it) to the JSON format: string json = JsonUtility.ToJson(myObject); // json now contains: '{"level":1 ...
確定! 回上一頁