Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | AlMoeSharpton86 |
Hi again !
(Apologies)
Currently following the same tutorial - https://www.youtube.com/watch?v=sKuM5AzK-uA
I can’t seem to work out the syntax (code is GDScript) to write it into C#
As arrays have diffrent syntax in C# then GDScript
What would be the equivalent/translation of this line in C# from GDScript?
button.connect("pressed", self, "_on_Button_pressed", [button.scene_to_load])
Thank you again!