mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
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.
This commit is contained in:
committed by
GitHub
parent
f512e1e9f5
commit
e01f00f069
@@ -363,7 +363,7 @@ combine multiple flags using logical OR (``|``) are also possible.
|
||||
.. code-block:: csharp
|
||||
|
||||
[Flags]
|
||||
public enum MyEnum
|
||||
public enum SpellElements
|
||||
{
|
||||
Fire = 1 << 1,
|
||||
Water = 1 << 2,
|
||||
|
||||
Reference in New Issue
Block a user