updat core

This commit is contained in:
2024-10-21 16:32:14 +08:00
parent 93fe7b4d04
commit 867dc79f5f
3 changed files with 4 additions and 2 deletions

View File

@@ -51,7 +51,9 @@ namespace Game.Component
}
this.ScenePart = scenePart;
this.Pathfinder.data.SetData (this.ScenePart.mapCacheData.bytes);
// this.Pathfinder.data.SetData (this.ScenePart.mapCacheData.bytes);
// this.Pathfinder.FlushGraphUpdates ();
this.Pathfinder.Scan ();
CameraManager.Instance.SetBoxCollider (this.ScenePart.cameraCollider);
ResetPlayer ();
CameraManager.Instance.SetCameraState (CameraManager.CameraState.Player_Near);