Skip to content

Commit e01f00f

Browse files
authored
Correctly name enum type
Previously the example defined a "MyEnum" enum, but used a "SpellElements" type export. I've changed so it now defines a "SpellElements" enum.
1 parent f512e1e commit e01f00f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/scripting/c_sharp/c_sharp_exports.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ combine multiple flags using logical OR (``|``) are also possible.
363363
.. code-block:: csharp
364364
365365
[Flags]
366-
public enum MyEnum
366+
public enum SpellElements
367367
{
368368
Fire = 1 << 1,
369369
Water = 1 << 2,

0 commit comments

Comments
 (0)