diff options
author | Fredia Huya-Kouadio <fhuyakou@gmail.com> | 2024-05-19 20:10:51 -0700 |
---|---|---|
committer | Fredia Huya-Kouadio <fhuyakou@gmail.com> | 2024-05-19 20:10:51 -0700 |
commit | 26a843bdec32fbab46d25828e53eff74d70f1c26 (patch) | |
tree | 85e615525f75d9190a5d21e1140a9c46eba886ca | |
parent | ec41ea1b230eb00c8f37ee37c197ec8b450cba02 (diff) | |
download | godot-android-samples-26a843bdec32fbab46d25828e53eff74d70f1c26.tar.gz godot-android-samples-26a843bdec32fbab46d25828e53eff74d70f1c26.tar.bz2 godot-android-samples-26a843bdec32fbab46d25828e53eff74d70f1c26.zip |
Switch the interface to extend from `RefCounted` so they can automatically be freed when the game exits.
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/hello_gdextension/demo/addons/hello_gdextension_plugin/interface/hello_gdextension_plugin.gd b/plugins/hello_gdextension/demo/addons/hello_gdextension_plugin/interface/hello_gdextension_plugin.gd index b46fb27..79fd311 100644 --- a/plugins/hello_gdextension/demo/addons/hello_gdextension_plugin/interface/hello_gdextension_plugin.gd +++ b/plugins/hello_gdextension/demo/addons/hello_gdextension_plugin/interface/hello_gdextension_plugin.gd @@ -1,4 +1,4 @@ -class_name HelloGDExtensionPlugin extends Object +class_name HelloGDExtensionPlugin extends RefCounted ## Interface used to access the functionality provided by the HelloGDExtension plugin diff --git a/plugins/hello_signals/demo/addons/hello_signals_plugin/hello_signals_plugin_interface.gd b/plugins/hello_signals/demo/addons/hello_signals_plugin/hello_signals_plugin_interface.gd index 0cc9c1d..d7b95b1 100644 --- a/plugins/hello_signals/demo/addons/hello_signals_plugin/hello_signals_plugin_interface.gd +++ b/plugins/hello_signals/demo/addons/hello_signals_plugin/hello_signals_plugin_interface.gd @@ -1,4 +1,4 @@ -class_name HelloSignalsPlugin extends Object +class_name HelloSignalsPlugin extends RefCounted ## Interface used to access the functionality provided by the HelloSignals plugin diff --git a/plugins/hello_world/demo/addons/hello_world_plugin/hello_world_plugin_interface.gd b/plugins/hello_world/demo/addons/hello_world_plugin/hello_world_plugin_interface.gd index ed84ef3..1c4ef16 100644 --- a/plugins/hello_world/demo/addons/hello_world_plugin/hello_world_plugin_interface.gd +++ b/plugins/hello_world/demo/addons/hello_world_plugin/hello_world_plugin_interface.gd @@ -1,4 +1,4 @@ -class_name HelloWorldPlugin extends Object +class_name HelloWorldPlugin extends RefCounted ## Interface used to access the functionality provided by this plugin |