GodotPythonJSONRPC/addons/kiripythonrpcwrapper/KiriPythonRPCWrapper.gd

16 lines
380 B
GDScript3
Raw Normal View History

@tool
extends EditorPlugin
2024-07-14 08:54:08 -07:00
var python_build_export_plugin = null
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)
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