コード例 #1
0
    /// <summary>
    /// Calculates and draws an H gizmo
    /// </summary>
    private void HGizmo()
    {
        Vector3 currentDirection = Quaternion.AngleAxis(currentAngle, Vector3.forward) * Vector3.up;

        CustomGizmos.DrawH(new Vector3(2, 0, 2), new Vector3(2, 0, 3), arrowTipSize, currentDirection);
    }