Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


overridesDefaultSelection

Defines if the context is overriding the scene selection.
Read time 1 minuteLast updated 12 days ago

Definition

public virtual bool overridesDefaultSelection { get; }

Remarks

Set this property to true to allow the current EditorToolContext to take over the regular selection in the scene. This prevents to automatically exit the context when clicking in empty places or other game objects. The default value is false.