mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-08 10:10:54 +03:00
Directive fixes
important 652Line
This commit is contained in:
@@ -649,9 +649,9 @@ want to assign consecutive integers to some constant.
|
||||
If you pass a name to the enum, it will put all the keys inside a constant
|
||||
dictionary of that name.
|
||||
|
||||
.. important: In Godot 3.1 and later, keys in a named enum are not registered
|
||||
as global constants. They should be accessed prefixed by the
|
||||
enum's name (``Name.KEY``); see an example below.
|
||||
.. important:: In Godot 3.1 and later, keys in a named enum are not registered
|
||||
as global constants. They should be accessed prefixed by the
|
||||
enum's name (``Name.KEY``); see an example below.
|
||||
|
||||
::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user