blob: 5dc52ef3613b2cf1ba81a9783f5c238b5a5450c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using Pathfinding;
using UnityEditor;
namespace Pathfinding {
[CustomEditor(typeof(AIDestinationSetter), true)]
[CanEditMultipleObjects]
public class AIDestinationSetterEditor : EditorBase {
protected override void Inspector () {
PropertyField("target");
#if MODULE_ENTITIES
if ((target as AIDestinationSetter).GetComponent<FollowerEntity>() != null) {
PropertyField("useRotation");
}
#endif
}
}
}
|