2024-06-29 22:50:35 -07:00
|
|
|
@tool
|
|
|
|
extends EditorPlugin
|
|
|
|
|
2024-07-14 08:54:08 -07:00
|
|
|
var python_build_export_plugin = null
|
2024-06-29 22:50:35 -07:00
|
|
|
|
2024-07-14 08:54:08 -07:00
|
|
|
func _enter_tree():
|
|
|
|
assert(not python_build_export_plugin)
|
|
|
|
python_build_export_plugin = KiriPythonBuildExportPlugin.new()
|
|
|
|
add_export_plugin(python_build_export_plugin)
|
2024-06-29 22:50:35 -07:00
|
|
|
|
|
|
|
func _exit_tree():
|
2024-07-14 08:54:08 -07:00
|
|
|
assert(python_build_export_plugin)
|
|
|
|
remove_export_plugin(python_build_export_plugin)
|
|
|
|
python_build_export_plugin = null
|
|
|
|
|