示例#1
0
 // Start is called before the first frame update
 void Start()
 {
     waypoints          = waveConfig.GetWaypoints();
     moveSpeed          = waveConfig.GetMovementSpeed();
     transform.position = waypoints[waypointIndex].transform.position;
 }