16 lines
380 B
GDScript
16 lines
380 B
GDScript
@tool
|
|
extends EditorPlugin
|
|
|
|
var python_build_export_plugin = null
|
|
|
|
func _enter_tree():
|
|
assert(not python_build_export_plugin)
|
|
python_build_export_plugin = KiriPythonBuildExportPlugin.new()
|
|
add_export_plugin(python_build_export_plugin)
|
|
|
|
func _exit_tree():
|
|
assert(python_build_export_plugin)
|
|
remove_export_plugin(python_build_export_plugin)
|
|
python_build_export_plugin = null
|
|
|