Skip to content

Commit da49bda

Browse files
author
Chris Elion
committed
fix BehaviorParametersEditor for m_UseChildSensors (#3404)
1 parent cbc6a70 commit da49bda

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
@@ -33,7 +33,7 @@ public override void OnInspectorGUI()
3333
EditorGUI.indentLevel--;
3434
EditorGUILayout.PropertyField(so.FindProperty("m_BehaviorType"));
3535
EditorGUILayout.PropertyField(so.FindProperty("m_TeamID"));
36-
EditorGUILayout.PropertyField(so.FindProperty("m_useChildSensors"), true);
36+
EditorGUILayout.PropertyField(so.FindProperty("m_UseChildSensors"), true);
3737
// EditorGUILayout.PropertyField(serializedObject.FindProperty("m_Heuristic"), true);
3838
EditorGUI.indentLevel--;
3939
if (EditorGUI.EndChangeCheck())

0 commit comments

Comments
 (0)