文档

Unity Engine

Unity Engine

overridesDefaultSelection

Defines if the context is overriding the scene selection.
阅读时间1 分钟最后更新于 1 个月前

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.