Skip to content

Commit 68792a1

Browse files
author
Chris Elion
authored
fix BehaviorParametersEditor for m_UseChildSensors (#3404)
1 parent 48b2dec commit 68792a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.ml-agents/Editor/BehaviorParametersEditor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public override void OnInspectorGUI()
3434
EditorGUI.indentLevel--;
3535
EditorGUILayout.PropertyField(so.FindProperty("m_BehaviorType"));
3636
EditorGUILayout.PropertyField(so.FindProperty("m_TeamID"));
37-
EditorGUILayout.PropertyField(so.FindProperty("m_useChildSensors"), true);
37+
EditorGUILayout.PropertyField(so.FindProperty("m_UseChildSensors"), true);
3838
// EditorGUILayout.PropertyField(serializedObject.FindProperty("m_Heuristic"), true);
3939
EditorGUI.indentLevel--;
4040
if (EditorGUI.EndChangeCheck())

0 commit comments

Comments
 (0)