Update C# signal documentation

Updates C# signal documentation and code examples to the new API in 4.0
This commit is contained in:
Raul Santos
2022-08-26 15:59:43 +02:00
parent 68c507cf8c
commit 3b36a94d35
13 changed files with 34 additions and 29 deletions

View File

@@ -177,7 +177,7 @@ clicked. For that, we'll need a script that extends from
{
public override void _EnterTree()
{
Connect("pressed", Clicked);
Pressed += Clicked;
}
public void Clicked()