浏览代码

I forgot to change the m_observationType

/goal-conditioning/sensors-3-pytest-fix
vincentpierre 4 年前
当前提交
af747e5c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.ml-agents/Editor/VectorSensorComponentEditor.cs

2
com.unity.ml-agents/Editor/VectorSensorComponentEditor.cs


// These fields affect the sensor order or observation size,
// So can't be changed at runtime.
EditorGUILayout.PropertyField(so.FindProperty("m_SensorName"), true);
EditorGUILayout.PropertyField(so.FindProperty("m_observationSize"), true);
EditorGUILayout.PropertyField(so.FindProperty("m_ObservationSize"), true);
EditorGUILayout.PropertyField(so.FindProperty("m_ObservationType"), true);
}
EditorGUI.EndDisabledGroup();

正在加载...
取消
保存