小编J. *_*man的帖子

在 Rider 中找不到使用 Unity.Plastic.Newtonsoft.Json

我正在尝试使用:

using Unity.Plastic.Newtonsoft.Json
public static List<Level> GetLevels()
{
    var asset = Resources.Load<TextAsset>("levels.json".Replace(".json", ""));
    return JsonConvert.DeserializeObject<List<Level>>(asset.text);
}
Run Code Online (Sandbox Code Playgroud)

并且JsonConvert是红色的。并且Plastic显示为红色。它说无法解析符号塑料。

有任何想法吗?

编辑:我确实安装了 Newtonsoft.Json 版本 13 作为程序集。没有运气。

编辑:使用 Newtonsoft.Json;也红色。

unity-game-engine rider

1
推荐指数
1
解决办法
3187
查看次数

标签 统计

rider ×1

unity-game-engine ×1