You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a property is [String], hints that the property represents a particular type (class). This allows to select a type from the create dialog. The property will store the selected type as a string.
2851
2851
If a property is [Array], hints the editor how to show elements. The [code]hint_string[/code] must encode nested types using [code]":"[/code] and [code]"/"[/code].
2852
+
If a property is [Dictionary], hints the editor how to show elements. The [code]hint_string[/code] is the same as [Array], with a [code]";"[/code] separating the key and value.
2852
2853
[codeblocks]
2853
2854
[gdscript]
2854
2855
# Array of elem_type.
@@ -2923,10 +2924,12 @@
2923
2924
Hints that an [int] property is a pointer. Used by GDExtension.
Hints that a property is an [Array] with the stored type specified in the hint string.
2927
+
Hints that a property is an [Array] with the stored type specified in the hint string. The hint string contains the type of the array (e.g. [code]"String"[/code]).
2928
+
Use the hint string format from [constant PROPERTY_HINT_TYPE_STRING] for more control over the stored type.
Hints that a property is a [Dictionary] with the stored types specified in the hint string. The hint string contains the key and value types separated by a semicolon (e.g. [code]"int;String"[/code]).
2932
+
Use the hint string format from [constant PROPERTY_HINT_TYPE_STRING] for more control over the stored types.
0 commit comments