1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Updated tutorial_gdscript_efficiently (markdown)

reduz
2014-09-20 08:46:45 -07:00
parent 7781274852
commit 8d5961f958

@@ -248,6 +248,11 @@ var d = {
}
print("Name: ", d.name, " Age: ", d.age ) # used "." based indexing
d.name="caroline" #works for assignment
d.nother="rebecca" #this doesn't work (use syntax below to add a key:value pair)
d["mother"]="rebecca" #this works
```
@@ -255,4 +260,3 @@ print("Name: ", d.name, " Age: ", d.age ) # used "." based indexing