Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


selectionRect

Style used to draw a marquee selection rect in the SceneView.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static GUIStyle selectionRect { get; }

Remarks

This style can be used to draw a marquee selection rect that looks like the built-in GameObject selection box.