feat(enemy): FlyingDirectNavigator 实现受阻/最近可达点成员(飞行单位恒 false)
This commit is contained in:
@@ -66,6 +66,10 @@ namespace BaseGames.Enemies.Navigation
|
|||||||
public Vector2 CurrentLinkStart => Vector2.zero;
|
public Vector2 CurrentLinkStart => Vector2.zero;
|
||||||
public Vector2 CurrentLinkEnd => Vector2.zero;
|
public Vector2 CurrentLinkEnd => Vector2.zero;
|
||||||
|
|
||||||
|
// 飞行单位直飞、始终可达,无"受阻/最近可达点"概念。
|
||||||
|
public bool LastMoveObstructed => false;
|
||||||
|
public bool TryGetClosestReachable(out Vector2 worldPos) { worldPos = Vector2.zero; return false; }
|
||||||
|
|
||||||
// ── Unity 生命周期 ─────────────────────────────────────────────
|
// ── Unity 生命周期 ─────────────────────────────────────────────
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user