overridesDefaultSelection
Defines if the context is overriding the scene selection.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor.EditorTools
- Assembly: UnityEditor
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.