numeric mods
This commit is contained in:
parent
eaa487f16a
commit
5246d8481d
11 changed files with 185 additions and 0 deletions
13
addons/numeric-modifiers/numeric_mods_inspector.gd
Normal file
13
addons/numeric-modifiers/numeric_mods_inspector.gd
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue