Inspector Plugins
This tutorial will explain the process.
GDScript
GDScript
class_name MyEditor
var updating = false
func _spin_changed(value):
if (updating):
func update_property():
var new_value = get_edited_object()[ get_edited_property() ]
updating=true
spin.set_value( new_value )
updating=false
func _init():
# if you want to put the editor below the label
# set_bottom_editor( spin )
# else use:
add_child( spin )
# to remember focus when selected back
add_focusable( spin )
spin.set_min(0)
spin.connect("value_changed",self,"_spin_changed")