update c# class examples

This commit is contained in:
Hana
2023-01-11 21:03:35 +01:00
parent 33c61914b4
commit 9e90766a92
37 changed files with 144 additions and 121 deletions

View File

@@ -35,7 +35,9 @@ The following two scripts will be used as references throughout this page.
.. code-tab:: csharp
public class MyCSharpNode : Node
using Godot;
public partial class MyCSharpNode : Node
{
public String str1 = "bar";
public String str2 { get { return "barbar"; } }