You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add _enable/_disable_plugin to plugin script template
This commit is contained in:
@@ -4,6 +4,16 @@
|
|||||||
extends _BASE_
|
extends _BASE_
|
||||||
|
|
||||||
|
|
||||||
|
func _enable_plugin() -> void:
|
||||||
|
# Add autoloads here.
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
func _disable_plugin() -> void:
|
||||||
|
# Remove autoloads here.
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
func _enter_tree() -> void:
|
func _enter_tree() -> void:
|
||||||
# Initialization of the plugin goes here.
|
# Initialization of the plugin goes here.
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user