11 lines
235 B
GDScript
11 lines
235 B
GDScript
@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")
|