mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Merge pull request #932 from i-need-to-tell-you-something/patch-1
Update gdscript_advanced.rst
This commit is contained in:
@@ -107,7 +107,7 @@ Pointers & referencing:
|
||||
|
||||
In static languages such as C or C++ (and to some extent Java and C#),
|
||||
there is a distinction between a variable and a pointer/reference to a
|
||||
variable. The later allows the object to be modified by other functions
|
||||
variable. The latter allows the object to be modified by other functions
|
||||
by passing a reference to the original one.
|
||||
|
||||
In C# or Java, everything not a built-in type (int, float, sometimes
|
||||
@@ -293,7 +293,7 @@ easily with dictionaries. Here's a simple battleship game example:
|
||||
|
||||
Dictionaries can also be used as data markup or quick structures. While
|
||||
GDScript dictionaries resemble python dictionaries, it also supports Lua
|
||||
style syntax an indexing, which makes it very useful for writing initial
|
||||
style syntax and indexing, which makes it very useful for writing initial
|
||||
states and quick structs:
|
||||
|
||||
::
|
||||
|
||||
Reference in New Issue
Block a user