I’m trying to do stuff like auto convert an input number from deg to rad from the editor, or just customize behavior of them in general. How can I do that? I’m aware of function that is provided for these use cases, but the way they work is confusing to me. Thanks in advance.
The annotation @export_range() already has support to show the value as degrees in the editor but store it as radians in your exported variable.
Most common exports are already covered by the other @export annotations but if you need something more specific you can use the annotation @export_custom() which let you export a variable with custom settings.