多轮审查和修复
This commit is contained in:
@@ -25,6 +25,9 @@ namespace BaseGames.Enemies
|
||||
/// <summary>当前帧是否在移动(速度 > 0.01 且有有效路径)。</summary>
|
||||
bool IsMoving { get; }
|
||||
|
||||
/// <summary>是否接近平台边缘(脚下或前方无地面时为 true)。</summary>
|
||||
bool IsNearEdge();
|
||||
|
||||
/// <summary>路径寻路失败事件(目标不可达时触发)。</summary>
|
||||
event Action OnNavPathFailed;
|
||||
}
|
||||
@@ -37,6 +40,7 @@ namespace BaseGames.Enemies
|
||||
public bool IsAtDestination() => true;
|
||||
public void SetSpeed(float _) { }
|
||||
public bool IsMoving => false;
|
||||
public bool IsNearEdge() => false;
|
||||
public event Action OnNavPathFailed { add { } remove { } }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user