Initilize Array[Object] inside of Dictonary
-
var dict : Dictionary = { key : Array[Object] }
Can we do this somehow in GDScript.var dict : Dictionary = { key : Array[Object]}
I know that :
var arr : Array[Obejct] = [] var dict : Dictionary = { key : arr }
does work, but somehow i would love to just type it directly into the dictonary.
Thanks for answers, keep coding.
-
Its, probably not possible, considering gdscript just got typed, for loops in 4.2, but if you really want you could submit a report to get it added.
-
@Salodo Alright, thanks mate!