当我们要用到Vector3的可视化的时候基本上会用到Debug.DrewLine与Debug.DrewRay这两个方法。 Debug.DrawRay public static void DrawRay (Vector3 start, Vector3 dir, Color color= Color.white, float duration= 0.0f, bool depthTest= true); Debug.DrawLine public static void DrawLine (Vector3 start,