numeric mods

This commit is contained in:
Rendo 2025-07-26 18:32:16 +05:00
commit 5246d8481d
11 changed files with 185 additions and 0 deletions

View file

@ -0,0 +1,13 @@
@tool
extends EditorInspectorPlugin
class_name NumericModsInspector
func _can_handle(object: Object) -> bool:
return true
func _parse_property(object: Object, type: Variant.Type, name: String, hint_type: PropertyHint, hint_string: String, usage_flags: int, wide: bool) -> bool:
if hint_string == "NumericModifiers":
add_property_editor(name,NumericModsProperty.new())
return true
return false