Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


lineThickness

Retrieves the user preference setting that controls the thickness of tool handle lines. (Read Only)
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static float lineThickness { get; }

Remarks

Tools like Move, Scale, or Rotate display their lines using this thickness value. Users can set this value in the Editor's Preferences window.
You can use the preferred thickness value in custom handles.
Additional Resources: Handles.DrawLine, Handles.DrawWireDisc.