【发布时间】:2020-05-24 17:45:09
【问题描述】:
我想知道将 ScriptableObjects 列表保存到 Json 的最佳方法是什么。我目前正在使用 Newtonsoft.Json 的方式来做这件事,并给我一个警告,因为从 Json 加载数据的方式是使用“new ScriptObject”而不是“ScriptableObject.CreateInstance”方法创建 scriptableObjects 的实例。这只是一个警告,我没有看到任何重大错误,但它仍然引起了我的兴趣。
谢谢。
【问题讨论】:
-
虽然有点老我用JSONObject
-
loading data from the Json is creating instances of the scriptableObjects... 那么您对ScriptableObject List to Json的问题是在标题中还是相反?
标签: unity3d