init
This commit is contained in:
10
addons/strategy_cam/strategy_camera_autoload.gd
Normal file
10
addons/strategy_cam/strategy_camera_autoload.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
@tool
|
||||
extends EditorPlugin
|
||||
|
||||
|
||||
func _enter_tree() -> void:
|
||||
add_custom_type("StrategyCamera", "Camera2D", preload("strategy_camera.gd"), preload("icon_camera_grid.svg"))
|
||||
|
||||
|
||||
func _exit_tree() -> void:
|
||||
remove_custom_type("StrategyCamera")
|
||||
Reference in New Issue
Block a user