diff options
author | Fredia Huya-Kouadio <fhuya@meta.com> | 2023-07-02 16:59:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-02 16:59:41 -0700 |
commit | 01f6b286390e552cd326df00ad16c65e5f5c703b (patch) | |
tree | 9ca58d95496b72bb7974d4525f4821284e3ade7f /hello_signals/demo/Main.gd | |
parent | 8a50b716f5d335d0c060eb096032fc2d214dc635 (diff) | |
parent | 1d35faab621629b7cf27db2675c439d390a32541 (diff) | |
download | godot-android-samples-01f6b286390e552cd326df00ad16c65e5f5c703b.tar.gz godot-android-samples-01f6b286390e552cd326df00ad16c65e5f5c703b.tar.bz2 godot-android-samples-01f6b286390e552cd326df00ad16c65e5f5c703b.zip |
Merge pull request #1 from m4gr3d/godot_4_2_plugin_refactor
Godot 4.2 plugin refactor
Diffstat (limited to 'hello_signals/demo/Main.gd')
-rw-r--r-- | hello_signals/demo/Main.gd | 4 |
1 files changed, 2 insertions, 2 deletions
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") |