do some changes with XLib and started working on main menu
This commit is contained in:
@@ -1,22 +1,18 @@
|
||||
@tool
|
||||
extends EditorPlugin
|
||||
|
||||
var pluginDir
|
||||
|
||||
func _enable_plugin() -> void:
|
||||
# Add autoloads here.
|
||||
pass
|
||||
|
||||
var plugin_dir = get_script().resource_path.get_base_dir()
|
||||
|
||||
func _disable_plugin() -> void:
|
||||
# Remove autoloads here.
|
||||
pass
|
||||
|
||||
|
||||
func _enter_tree() -> void:
|
||||
# Initialization of the plugin goes here.
|
||||
pass
|
||||
|
||||
var nodes = get_script().resource_path.get_base_dir() + "/nodes"
|
||||
add_custom_type("XLightingUpdate3D", "Node3D", load(nodes + "/XLightingUpdate3D.gd"), null)
|
||||
|
||||
func _exit_tree() -> void:
|
||||
# Clean-up of the plugin goes here.
|
||||
pass
|
||||
remove_custom_type("XLightingUpdate3D")
|
||||
|
||||
Reference in New Issue
Block a user