SupaLidlGame/addons/phantom_camera/gizmos/phantom_camera_gizmo_plugin...

12 lines
365 B
GDScript
Raw Permalink Normal View History

extends CustomPluginGizmo
var _spatial_script: Script = preload("res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_3d.gd")
var _icon: Texture2D = preload("res://addons/phantom_camera/icons/phantom_camera_gizmo.svg")
func _init() -> void:
set_gizmo_name("PhantomCamera")
set_gizmo_spatial_script(_spatial_script)
set_gizmo_icon(_icon)
super()