projektluzid/addons/vizpath/vizpath.gd
2025-06-07 19:10:56 +02:00

15 lines
320 B
GDScript

@tool
extends EditorPlugin
const VizpathGizmoPlugin = preload("res://addons/vizpath/vizpath_gizmo_plugin.gd")
var gizmo_plugin = VizpathGizmoPlugin.new()
func _enter_tree():
gizmo_plugin.set_editor_plugin(self)
add_node_3d_gizmo_plugin(gizmo_plugin)
func _exit_tree():
remove_node_3d_gizmo_plugin(gizmo_plugin)