mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
update c# class examples
This commit is contained in:
@@ -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"; } }
|
||||
|
||||
Reference in New Issue
Block a user