Documentation

Unity Engine


Unity Engine


overridesDefaultSelection

Whether the tool context overrides the scene selection.
Read time 1 minuteLast updated a month 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.