summaryrefslogtreecommitdiff
path: root/Other/AstarPathfindingDemo/Packages/com.arongranberg.astar/Editor/RVOSquareObstacleEditor.cs
blob: 77f0c113b9fd7b901e25f2f70f705a53b62104a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
		}
	}
}