mirror of
https://github.com/Kizuren/SynthMaze.git
synced 2026-01-08 07:29:15 +01:00
Updated to Unity6.33f1 and imported updated AStarPath package
This commit is contained in:
parent
46ae47a9f0
commit
ceba0343d3
35 changed files with 9662 additions and 1604 deletions
|
|
@ -948,7 +948,7 @@ namespace Pathfinding {
|
|||
|
||||
/// <summary>Opens the A* Inspector and shows the section for editing tags</summary>
|
||||
public static void EditTags () {
|
||||
AstarPath astar = GameObject.FindObjectOfType<AstarPath>();
|
||||
AstarPath astar = Object.FindFirstObjectByType<AstarPath>();
|
||||
|
||||
if (astar != null) {
|
||||
editTags = true;
|
||||
|
|
@ -1365,7 +1365,7 @@ namespace Pathfinding {
|
|||
[MenuItem("Edit/Pathfinding/Scan All Graphs %&s")]
|
||||
public static void MenuScan () {
|
||||
if (AstarPath.active == null) {
|
||||
AstarPath.active = FindObjectOfType<AstarPath>();
|
||||
AstarPath.active = Object.FindFirstObjectByType<AstarPath>();
|
||||
if (AstarPath.active == null) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue