#Export Dictionary With Set Types In Editor

1 messages · Page 1 of 1 (latest)

delicate vault
#

I'm trying to put a key,value collection on the inspector. Dictionary works fine but it wants me to select the type for each entry on the editor...

Looking for a way to avoid this I found Arrays can be set by:

@export var foo : Array[int]

This forces the array to appear on the inspector with fields for only ints.

Do dictionaries have something similar?

winter tree
#

not yet