1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #96611 from Dynamic-Pistol/master

Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
This commit is contained in:
Thaddeus Crews
2025-05-13 16:22:25 -05:00
7 changed files with 49 additions and 3 deletions

View File

@@ -94,6 +94,7 @@ enum PropertyHint {
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_INPUT_NAME,
PROPERTY_HINT_MAX,
};