@@ -12,8 +12,11 @@ public class AIDecisionDetectTargetRadius2DNodeEditor : AIDecisionNodeEditor
1212 private SerializedProperty _targetLayer ;
1313 private SerializedProperty _obstacleDetection ;
1414 private SerializedProperty _obstacleMask ;
15+ private SerializedProperty _obstaclesDetectionMode ;
1516 private SerializedProperty _canTargetSelf ;
16-
17+ private SerializedProperty _targetCheckFrequency ;
18+ private SerializedProperty _overlapMaximum ;
19+
1720 public override void OnBodyGUI ( )
1821 {
1922 base . OnBodyGUI ( ) ;
@@ -23,16 +26,22 @@ public override void OnBodyGUI()
2326 _targetLayer = serializedObject . FindProperty ( "targetLayer" ) ;
2427 _obstacleDetection = serializedObject . FindProperty ( "obstacleDetection" ) ;
2528 _obstacleMask = serializedObject . FindProperty ( "obstacleMask" ) ;
29+ _obstaclesDetectionMode = serializedObject . FindProperty ( "obstaclesDetectionMode" ) ;
2630 _canTargetSelf = serializedObject . FindProperty ( "canTargetSelf" ) ;
31+ _targetCheckFrequency = serializedObject . FindProperty ( "targetCheckFrequency" ) ;
32+ _overlapMaximum = serializedObject . FindProperty ( "overlapMaximum" ) ;
2733
2834 serializedObject . Update ( ) ;
29- EditorGUIUtility . labelWidth = 120 ;
35+ EditorGUIUtility . labelWidth = 160 ;
3036 NodeEditorGUILayout . PropertyField ( _radius ) ;
3137 NodeEditorGUILayout . PropertyField ( _detectionOriginOffset ) ;
3238 NodeEditorGUILayout . PropertyField ( _targetLayer ) ;
3339 NodeEditorGUILayout . PropertyField ( _obstacleDetection ) ;
3440 NodeEditorGUILayout . PropertyField ( _obstacleMask ) ;
41+ NodeEditorGUILayout . PropertyField ( _obstaclesDetectionMode ) ;
3542 NodeEditorGUILayout . PropertyField ( _canTargetSelf ) ;
43+ NodeEditorGUILayout . PropertyField ( _targetCheckFrequency ) ;
44+ NodeEditorGUILayout . PropertyField ( _overlapMaximum ) ;
3645 serializedObject . ApplyModifiedProperties ( ) ;
3746 }
3847 }
0 commit comments