@tool extends EditorPlugin func _enter_tree() -> void: if !ProjectSettings.has_setting("babushka/hacks/speed_hack"): ProjectSettings.set_setting("babushka/hacks/speed_hack",-1) var property_info = { "name": "babushka/hacks/speed_hack", "type": TYPE_FLOAT, "hint": PROPERTY_HINT_RANGE, "hint_string": "-1,20,0.5" } ProjectSettings.add_property_info(property_info) ProjectSettings.set_initial_value("babushka/hacks/speed_hack",-1) func _exit_tree() -> void: # Clean-up of the plugin goes here. pass