minus-squarerisof@lemmy.blahaj.zonetoGodot@programming.dev•How could I get the inspector of a property type?linkfedilinkarrow-up0·3 months agoI think what they’re trying to say is that you can add a type hint to your exported properties. These type hints affect how the property presents in the inspector. https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_exports.html. For example, @export var my_int: int shows up as an int in the inspector. linkfedilink
I think what they’re trying to say is that you can add a type hint to your exported properties. These type hints affect how the property presents in the inspector. https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_exports.html. For example,
@export var my_int: int
shows up as an int in the inspector.