Refactor GDScript/C# script templates logic to be editor-only

Not a full refactor as it still goes through ScriptLanguage so it's hacky,
but at least it can now compile without this.
This commit is contained in:
Rémi Verschelde
2022-03-28 15:48:38 +02:00
parent 41d075de58
commit c9b75431f3
20 changed files with 15 additions and 18 deletions

View File

@@ -0,0 +1,13 @@
# meta-description: Basic plugin template
@tool
extends EditorPlugin
func _enter_tree() -> void:
# Initialization of the plugin goes here.
pass
func _exit_tree() -> void:
# Clean-up of the plugin goes here.
pass