From cc561b57ceaf53aea3ba037589457d25bc1c988a Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Thu, 26 Sep 2024 11:05:07 -0700 Subject: Update visibility of the plugin methods exposed to gdscript Bump the Godot Android library dependency to 4.3 Bump godot-cpp to version godot-4.3-stable --- plugins/hello_gdextension/godot-cpp | 2 +- .../godot/plugin/android/hellogdextension/HelloGDExtensionPlugin.kt | 4 ++-- .../fhuyakou/godot/plugin/android/hellosignals/HelloSignalsPlugin.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/hello_gdextension/godot-cpp b/plugins/hello_gdextension/godot-cpp index 588d869..fbbf9ec 160000 --- a/plugins/hello_gdextension/godot-cpp +++ b/plugins/hello_gdextension/godot-cpp @@ -1 +1 @@ -Subproject commit 588d869a3ba91ecef8b42303e27066006f5f7d0e +Subproject commit fbbf9ec4efd8f1055d00edb8d926eef8ba4c2cce diff --git a/plugins/hello_gdextension/src/main/java/fhuyakou/godot/plugin/android/hellogdextension/HelloGDExtensionPlugin.kt b/plugins/hello_gdextension/src/main/java/fhuyakou/godot/plugin/android/hellogdextension/HelloGDExtensionPlugin.kt index ed220ca..cb39ae4 100644 --- a/plugins/hello_gdextension/src/main/java/fhuyakou/godot/plugin/android/hellogdextension/HelloGDExtensionPlugin.kt +++ b/plugins/hello_gdextension/src/main/java/fhuyakou/godot/plugin/android/hellogdextension/HelloGDExtensionPlugin.kt @@ -27,13 +27,13 @@ class HelloGDExtensionPlugin(godot: Godot) : GodotPlugin(godot) { } @UsedByGodot - private fun addGDExampleNode(parentNodePath: String) { + fun addGDExampleNode(parentNodePath: String) { Log.i(TAG, "Adding GDExample node to $parentNodePath") nativeAddGDExampleNode(parentNodePath) } @UsedByGodot - private fun setGDExampleVisible(visible: Boolean) { + fun setGDExampleVisible(visible: Boolean) { Log.i(TAG, "Updating GDExample node visibility to $visible") nativeToggleVisibility(visible) } diff --git a/plugins/hello_signals/src/main/java/fhuyakou/godot/plugin/android/hellosignals/HelloSignalsPlugin.kt b/plugins/hello_signals/src/main/java/fhuyakou/godot/plugin/android/hellosignals/HelloSignalsPlugin.kt index d6df7ef..1e7e346 100644 --- a/plugins/hello_signals/src/main/java/fhuyakou/godot/plugin/android/hellosignals/HelloSignalsPlugin.kt +++ b/plugins/hello_signals/src/main/java/fhuyakou/godot/plugin/android/hellosignals/HelloSignalsPlugin.kt @@ -50,7 +50,7 @@ class HelloSignalsPlugin(godot: Godot) : GodotPlugin(godot) { } @UsedByGodot - private fun onButtonPressed() { + fun onButtonPressed() { Log.i(TAG, "OnButtonPressed from Kotlin") if (!startTikTok()) { stopTikTok() -- cgit v1.2.3