From b1eff319f02106190b64c37610df3fbf3fa61075 Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Sun, 2 Jul 2023 16:54:41 -0700 Subject: Update the 'Hello Signals' Android plugin demo to match the new Godot 4.2 format See https://github.com/godotengine/godot/pull/78958 for reference. --- hello_signals/demo/Main.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hello_signals/demo/Main.gd') diff --git a/hello_signals/demo/Main.gd b/hello_signals/demo/Main.gd index 22e5255..1b3e972 100644 --- a/hello_signals/demo/Main.gd +++ b/hello_signals/demo/Main.gd @@ -7,9 +7,9 @@ var helloSignals func _ready(): if Engine.has_singleton("HelloSignals"): helloSignals = Engine.get_singleton("HelloSignals") - helloSignals.connect("TikTok", self, "_on_tiktok") + helloSignals.connect("TikTok", Callable(self, "_on_tiktok")) - $Button.connect("pressed", self, "_on_Button_pressed") + $Button.connect("pressed", Callable(self, "_on_Button_pressed")) else: print("Couldn't find HelloSignals singleton") -- cgit v1.2.3