Documentation of hint_string
format for PROPERTY_HINT_TYPE_STRING seems wrong
#76407
Labels
Milestone
hint_string
format for PROPERTY_HINT_TYPE_STRING seems wrong
#76407
Godot version
4.0.2.stable
System information
Linux 5.10.167-2-MANJARO
Issue description
In the docs for PROPERTY_HINT_TYPE_STRING under PropertyHint it provides these example for what the hint_string should look like:
From what i can tell though, the value that comes after the
/
shouldn't be a type, but a propertyhint. i.e the second and third ones should be:In addition the docs seem to imply that this
PropertyHint
is only used for specifying the type contained in the array, but it can do other things too. For instance it can be used to specify that the elements of the array are each strings that should be exported like multistrings.I'm not entirely sure about everything that it can do, but it seems that it's under-documented as is.
Steps to reproduce
N/A
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: