How to make hint in exported variable

Godot Version

4.2.2

Question

How to make a hint about units of measurement for exported variable?

examples:
image
image
image

You’ll need to use an @export_custom annotation with the suffix argument. e.g.
@export_custom(PROPERTY_HINT_NONE,"suffix:days")var days = 10

image

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.