using UnityEngine;
using System.Collections;
using System;
public class NavigationHyp1 : MonoBehaviour {
GameObject[] hypPathPoints;
int hypNextPathPointsIndex = 1;
// Use this for initialization
void Start () {
hypPathPoints = GameObject.FindGameObjectsWithTag("HypPath");
//得到的数组是反序的,下面对数组排序ÿ
Unity按固定路线自动寻路
最新推荐文章于 2024-08-05 22:30:40 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)