Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Change usages of GUI.enabled to EditorGUI.Begin/End-DisableGroup #107

@StanleyGoldman

Description

@StanleyGoldman

As @CapnRat commented here:

Should get into the habit of using EditorGUI.Begin/EndDisabledGroup rather than setting GUI.enabled directly. Those utility methods handle nesting properly. (There's also EditorGUI.DisabledScope, for an IDisposable way of doing things.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions