浏览代码

removed using declaration

/main
Steven Leal 4 年前
当前提交
6c54f771
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 6
      com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs

6
com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs


public void SerializeToFile()
{
Directory.CreateDirectory(Application.dataPath + "/StreamingAssets/");
using var writer = new StreamWriter(defaultConfigFilePath, false);
writer.Write(SerializeToJson());
using (var writer = new StreamWriter(defaultConfigFilePath, false))
{
writer.Write(SerializeToJson());
}
}
/// <summary>

正在加载...
取消
保存