// upon editor visualization: // private void OnDrawGizmos() { if (!raycastingController && UnityIs.inEditorEditMode) { raycastingController = Controller.left; } if (raycastingController) { Visualize.localLineFrom(raycastingController, localDirection, distance, visualizeLine, visualizationColor); } }