移动修改

This commit is contained in:
huyulong 2024-12-13 19:27:04 +08:00
parent 4ca91767bb
commit 65018a1dd2

View File

@ -141,9 +141,9 @@ public class RecuseNpc : MonoBehaviour
{ {
List<Vector3> list = new List<Vector3>(); List<Vector3> list = new List<Vector3>();
for(int i= 1;i<targetPoints.Count;i++) for (int i = 1; i < targetPoints.Count; i++)
{ {
list[i-1] = targetPoints[i]; list.Add(targetPoints[i]);
} }
return list; return list;