📜  unity draw waypoints 路径 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:47.478000             🧑  作者: Mango

代码示例1
void Update()
{
   if (connectedMarker.Length > 1)
   {
     for (int i = 0, j = 1; j < connectedMarker.Length; ++i, ++j)
     {
       Debug.DrawLine(connectedMarker[i].position, connectedMarker[j].position);
     }
   }
}