浏览代码

Change how strings are saved in DatasetJsonUtility.cs

/pyrception-integration
leopoldo-zugasti 3 年前
当前提交
3e059754
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2
      com.unity.perception/Editor/Pyrception/PyrceptionInstaller.cs
  2. 2
      com.unity.perception/Runtime/GroundTruth/DatasetJsonUtility.cs

2
com.unity.perception/Editor/Pyrception/PyrceptionInstaller.cs


[MenuItem("Window/Pyrception/Run")]
static void RunPyrception()
{
UnityEngine.Debug.Log(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData));
UnityEngine.Debug.Log(PlayerPrefs.GetInt("currentProcessId"));
if (RestartBrowser())
return;

2
com.unity.perception/Runtime/GroundTruth/DatasetJsonUtility.cs


case double v:
return new JValue(v);
case string v:
return new JValue($"\"{v}\"");
return new JValue(v);
case uint v:
return new JValue(v);
}

正在加载...
取消
保存