浏览代码

added compiler directives to fix build issue

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

4
com.unity.perception/Runtime/GroundTruth/Labeling/Labeling.cs


.RefreshLabeling(m_Entity);
}
#if UNITY_EDITOR
/// <summary>
/// Get the path of the given asset in the project, or get the path of the given Scene GameObject's source prefab if any
/// </summary>

return assetPath;
}
#endif
#if UNITY_EDITOR
/// <summary>
/// A labeling scheme based on which an automatic label can be produced for a given asset. E.g. based on asset name, asset path, etc.
/// </summary>

return stringList.Count > 1 ? stringList[stringList.Count-2] : null;
}
}
#endif
}
正在加载...
取消
保存