|
|
|
|
|
|
using System.Collections.Generic; |
|
|
|
using UnityEngine; |
|
|
|
|
|
|
|
[System.Serializable] |
|
|
|
public class WaypointData |
|
|
|
{ |
|
|
|
public Vector3 waypoint; |
|
|
|
public List<Vector3> corners; |
|
|
|
} |
|
|
|
|
|
|
|
[HideInInspector] |
|
|
|
public List<WaypointData> Waypoints; |
|
|
|
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool RealTimeEnabled; |
|
|
|
|
|
|
|
[HideInInspector] |
|
|
|
public List<WaypointData> Waypoints; |
|
|
|
|
|
|
|
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
|
|
|
|
[System.Serializable] |
|
|
|
public class WaypointData |
|
|
|
{ |
|
|
|
public Vector3 waypoint; |
|
|
|
public List<Vector3> corners; |
|
|
|
} |
|
|
|
|
|
|
|
#endif
|