Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


overridesDefaultSelection

Whether the tool context overrides the scene selection.
Read time 1 minuteLast updated 9 days ago

Definition

public virtual bool overridesDefaultSelection { get; }

Remarks

Set this property to true to allow the current EditorToolContext to override the regular selection in the scene. This prevents automatically exiting the context when you click on an empty area of the Scene view or on another GameObject. The default value is false.