Godot Version
4.4+ beta
Question
I am eagerly awaiting Godots new upcoming features, Typed Dictionaries and Structs. I could not find the answers to my questions looking through the github issue threads regarding these new features, and I did not want to clutter threads with them, so I’m bringing them here. Never used these forums before, so if this is in the wrong tag or topic, let me know and I’ll redo it correctly.
Anyway, the questions:
- Will we be able to use PropertyHints for Typed Dictionaries? If so, will it be possible to have different hints for keys vs values? For example, a
Dictionary[String, int]
where the String key has hintPROPERTY_HINT_ENUM_SUGGESTION
and the int value has hintPROPERTY_HINT_RANGE
? - Do we know if we will be able to export and edit structs in the inspector? Or will their use-case be only as a lightweight, pass-by-value replacement for inner RefCounted classes? I’m hoping for the former.
Thank you!