Answers for "unity draw waypoins path"

C#
0

unity draw waypoins path

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);
     }
   }
}
Posted by: Guest on February-14-2021

C# Answers by Framework

Browse Popular Code Answers by Language