2021-04-10 19:49:32 +08:00
|
|
|
//using System.Collections.Generic;
|
|
|
|
//using UnityEngine;
|
2021-04-08 20:09:59 +08:00
|
|
|
|
2021-04-10 19:49:32 +08:00
|
|
|
//namespace ET
|
|
|
|
//{
|
|
|
|
// public class GizmosDebug: MonoBehaviour
|
|
|
|
// {
|
|
|
|
// public static GizmosDebug Instance { get; private set; }
|
2021-04-08 20:09:59 +08:00
|
|
|
|
2021-04-10 19:49:32 +08:00
|
|
|
// public List<Vector3> Path;
|
2021-04-08 20:09:59 +08:00
|
|
|
|
2021-04-10 19:49:32 +08:00
|
|
|
// private void Awake()
|
|
|
|
// {
|
|
|
|
// Instance = this;
|
|
|
|
// Path = new List<Vector3>();
|
|
|
|
// }
|
2021-04-08 20:09:59 +08:00
|
|
|
|
2021-04-10 19:49:32 +08:00
|
|
|
// private void OnDrawGizmos()
|
|
|
|
// {
|
|
|
|
// if (this.Path.Count < 2)
|
|
|
|
// {
|
|
|
|
// return;
|
|
|
|
// }
|
|
|
|
// for (int i = 0; i < Path.Count - 1; ++i)
|
|
|
|
// {
|
|
|
|
// Gizmos.DrawLine(Path[i], Path[i + 1]);
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//}
|