浏览代码

some warning removals

/main
Mohsen Kamalzadeh 4 年前
当前提交
0b8a476d
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 9
      com.unity.perception/Editor/GroundTruth/PerceptionCameraEditor.cs

9
com.unity.perception/Editor/GroundTruth/PerceptionCameraEditor.cs


using System;
using System.Collections.Generic;
using System.IO;
using UnityEditorInternal;
using UnityEngine;
using UnityEngine.Perception.GroundTruth;

PerceptionCamera perceptionCamera => ((PerceptionCamera)this.target);
string m_PreviousOutputDir;
bool showPatchChangedLabel = false;
bool m_ShowPatchChangedLabel;
public void OnEnable()
{

{
Debug.Log($"Chose path: {path}");
PlayerPrefs.SetString(SimulationState.userBaseDirectoryKey, path);
showPatchChangedLabel = true;
m_ShowPatchChangedLabel = true;
if (showPatchChangedLabel)
if (m_ShowPatchChangedLabel)
{
if (m_PreviousOutputDir == dir)
{

}
else
{
showPatchChangedLabel = false;
m_ShowPatchChangedLabel = false;
}
}

正在加载...
取消
保存