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

all 2 comments

sorted by: hot top controversial new old
[+] 2 points 2 years ago
[–] 1 point 2 years ago