mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Update c_sharp_differences.rst ToSignal example
This commit is contained in:
@@ -854,5 +854,8 @@ Example:
|
||||
|
||||
.. code-block:: csharp
|
||||
|
||||
await ToSignal(timer, "timeout");
|
||||
GD.Print("After timeout");
|
||||
public async Task SomeFunction()
|
||||
{
|
||||
await ToSignal(timer, Timer.SignalName.Timeout);
|
||||
GD.Print("After timeout");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user