Merge branch 'master' into LouDi_Quan

This commit is contained in:
shenjianxing 2024-12-31 17:27:59 +08:00
commit 60662b3065
2 changed files with 11 additions and 1 deletions

View File

@ -53,6 +53,12 @@ public class MoveAction : IAction
public void OnStart()
{
GameObject obj = Utility.FindObj(path);
if (obj == null)
{
Debug.LogError($"没有找到路径{path}");
return;
}
obj.transform.DOMove(pos, time).onComplete = () => this.Finish(); ;
}

View File

@ -41,6 +41,10 @@ namespace QFramework.Example
point.name = (i + 1).ToString();
pointMap.Add(obj, point);
}
else
{
Debug.LogError($"没有找到路径{path}");
}
}
}