You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Add @export_tool_button annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com> Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
This commit is contained in:
@@ -205,6 +205,9 @@ static func get_property_hint_name(hint: PropertyHint) -> String:
|
||||
return "PROPERTY_HINT_HIDE_QUATERNION_EDIT"
|
||||
PROPERTY_HINT_PASSWORD:
|
||||
return "PROPERTY_HINT_PASSWORD"
|
||||
PROPERTY_HINT_TOOL_BUTTON:
|
||||
return "PROPERTY_HINT_TOOL_BUTTON"
|
||||
|
||||
printerr("Argument `hint` is invalid. Use `PROPERTY_HINT_*` constants.")
|
||||
return "<invalid hint>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user