Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Brave |
I tried to add signal for timer but it’s not adding it. I wonder if there is any manually way to add it?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Brave |
I tried to add signal for timer but it’s not adding it. I wonder if there is any manually way to add it?
Reply From: | Yaann |
When you add a signal, you have to manually write the method in C#, it doesn’t generate it like in GDScript.
Otherwise, you could try this:
timer.connect("timeout", this, on_time_out());
And then write the function its calling.