Update some C# examples

- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Follow our code style more closely.
- Other minor code fixes.
This commit is contained in:
Raul Santos
2023-05-18 13:14:05 +02:00
parent 97b6f53622
commit c457ab79ec
16 changed files with 106 additions and 96 deletions
@@ -134,7 +134,7 @@ Add a script to the button like this:
[Tool]
public partial class PrintHello : Button
{
public void OnPrintHelloPressed()
private void OnPrintHelloPressed()
{
GD.Print("Hello from the main screen plugin!");
}