Export range (used to create a box in the inspector for choosing a number within a range) can have extra things added to it in any additional arguments after the main 3.

One of these is the addition of a suffix that can be set to whatever you want

The code  @export_range(0, 100, 1, "suffix:m") var distance: int @export_range(0, 100, 1, "suffix:beans") var beans: int  with the right side showing Distance 0 m and Beans 0 beans
you are viewing a single comment's thread
view the rest of the comments
[+] 2 points 2 years ago