mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Merge pull request #10275 from mhilbrunner/fix-csharp-semicolon
C# exports: Fix semicolon syntax error
This commit is contained in:
@@ -466,7 +466,7 @@ of the selected option (i.e. ``0``, ``1``, or ``2``).
|
||||
.. code-block:: csharp
|
||||
|
||||
[Export(PropertyHint.Enum, "Warrior,Magician,Thief")]
|
||||
public int CharacterClass { get; set; };
|
||||
public int CharacterClass { get; set; }
|
||||
|
||||
You can add explicit values using a colon:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user