13 lines
484 B
C#
13 lines
484 B
C#
|
using UnityEditor;
|
||
|
using Pathfinding.RVO;
|
||
|
|
||
|
namespace Pathfinding {
|
||
|
[CustomEditor(typeof(RVOSquareObstacle))]
|
||
|
[CanEditMultipleObjects]
|
||
|
public class RVOSquareObstacleEditor : EditorBase {
|
||
|
protected override void Inspector () {
|
||
|
EditorGUILayout.HelpBox("This component is deprecated. Local avoidance colliders never worked particularly well and the performance was poor. Modify the graphs instead so that pathfinding takes obstacles into account.", MessageType.Warning);
|
||
|
}
|
||
|
}
|
||
|
}
|