Пример #1
0
    // upon editor visualization: //
    private void OnDrawGizmos()
    {
        if (!raycastingController && UnityIs.inEditorEditMode)
        {
            raycastingController = Controller.left;
        }

        if (raycastingController)
        {
            Visualize.localLineFrom(raycastingController, localDirection, distance,
                                    visualizeLine,
                                    visualizationColor);
        }
    }