mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Remove Note from Constants
PR #71051 Documentation not updated to reflect deep read-only change to const Array and const Dictionary
This commit is contained in:
@@ -1243,12 +1243,6 @@ Assigning a value of an incompatible type will raise an error.
|
||||
You can also create constants inside a function, which is useful to name local
|
||||
magic values.
|
||||
|
||||
.. note::
|
||||
|
||||
Since objects, arrays and dictionaries are passed by reference, constants are "flat".
|
||||
This means that if you declare a constant array or dictionary, it can still
|
||||
be modified afterwards. They can't be reassigned with another value though.
|
||||
|
||||
Enums
|
||||
^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user