提取RVO 寻路

This commit is contained in:
PC-20230316NUNE\Administrator
2024-02-05 18:56:55 +08:00
parent 04043cc6fc
commit 16d943ab6b
208 changed files with 42246 additions and 37182 deletions

View File

@@ -75,7 +75,9 @@ namespace Pathfinding {
#endregion
}
void Start () {
public override void OnSyncStart()
{
base.OnSyncStart();
if (!AstarPath.active)
throw new System.Exception("No AstarPath object in the scene");
}