Coroutines and while loop
问题 I have been working on a object movement along a path Which i have been geting from Navmesh Unity3d I am using coroutine in which i controled it with while loop as i can show public void DrawPath(NavMeshPath pathParameter, GameObject go) { Debug.Log("path Parameter" + pathParameter.corners.Length); if (agent == null || agent.path == null) { Debug.Log("Returning"); return; } line.material = matToApplyOnLineRenderer; line.SetWidth(1f, 1f); line.SetVertexCount(pathParameter.corners.Length);