浏览代码

Prevent obsolete listview function from being called on 2020.1 and newer

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

5
com.unity.perception/Editor/GroundTruth/LabelConfigEditor.cs


m_AddNewLabelButton.clicked += () => { AddNewLabel(m_AddedLabels); };
#if UNITY_2020_1_OR_NEWER
m_LabelListView.onSelectionChange += UpdateMoveButtonState;
#else
#endif
m_RemoveAllButton.clicked += () =>
{
m_SerializedLabelsArray.ClearArray();

正在加载...
取消
保存