Example #1
0
 /// <summary>
 /// Called once per frame - If a straight path has been found, it draws a debug line detailing the path
 /// </summary>
 public void Update()
 {
     if (initializedCrowd)
     {
         CrowdAgentDebugInfo info = new CrowdAgentDebugInfo();
         Crowd.Update(Time.deltaTime, ref info);
     }
 }
Example #2
0
 /// <summary>
 /// Called once per frame - If a straight path has been found, it draws a debug line detailing the path
 /// </summary>
 public void Update()
 {
     if (initializedCrowd)
     {
         CrowdAgentDebugInfo info = new CrowdAgentDebugInfo();
         Crowd.Update(Time.deltaTime, ref info);
     }
 }