Intialize environment
This commit is contained in:
12
client/addons/gut/gut_plugin.gd
Normal file
12
client/addons/gut/gut_plugin.gd
Normal file
@ -0,0 +1,12 @@
|
||||
tool
|
||||
extends EditorPlugin
|
||||
|
||||
func _enter_tree():
|
||||
# Initialization of the plugin goes here
|
||||
# Add the new type with a name, a parent type, a script and an icon
|
||||
add_custom_type("Gut", "Control", preload("plugin_control.gd"), preload("icon.png"))
|
||||
|
||||
func _exit_tree():
|
||||
# Clean-up of the plugin goes here
|
||||
# Always remember to remove it from the engine when deactivated
|
||||
remove_custom_type("Gut")
|
Reference in New Issue
Block a user