mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
GDScript: Allow subscript on self and object types
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# https://github.com/godotengine/godot/issues/43221
|
||||
extends Node
|
||||
|
||||
func test():
|
||||
name = "Node"
|
||||
print(self["name"])
|
||||
self["name"] = "Changed"
|
||||
print(name)
|
||||
Reference in New Issue
Block a user