CapersProject/Packages/com.arongranberg.astar/Editor/RVOSquareObstacleEditor.cs

13 lines
484 B
C#
Raw Normal View History

2024-06-03 18:26:03 +00:00
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);
}
}
}