Unidad dibujar ray de un objeto a otro
Debug.DrawRay(a.transform.position, (b.transform.position - a.transform.position) * maxDistance, Color.Green);
AdobeZev
Debug.DrawRay(a.transform.position, (b.transform.position - a.transform.position) * maxDistance, Color.Green);