Add enable checkboxes to editor sections

Fixes https://github.com/godotengine/godot-proposals/issues/4173
This commit is contained in:
cier
2023-09-14 00:02:17 +02:00
committed by Logan Detrick
parent dbddc9ef29
commit ebe9370724
13 changed files with 242 additions and 68 deletions

View File

@@ -93,6 +93,7 @@ enum PropertyHint {
PROPERTY_HINT_TOOL_BUTTON,
PROPERTY_HINT_ONESHOT, ///< the property will be changed by self after setting, such as AudioStreamPlayer.playing, Particles.emitting.
PROPERTY_HINT_NO_NODEPATH, /// < this property will not contain a NodePath, regardless of type (Array, Dictionary, List, etc.). Needed for SceneTreeDock.
PROPERTY_HINT_GROUP_ENABLE, ///< used to make the property's group checkable. Only use for boolean types.
PROPERTY_HINT_MAX,
};