![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Multirious |
In the control node, there will be custom styles property you can check.
I wanted to try it so I did this.
var test: Texture
func _get_property_list() -> Array:
return [
{
name = 'test',
type = TYPE_OBJECT,
hint = PROPERTY_HINT_RESOURCE_TYPE,
hint_string = 'Texture',
usage = PROPERTY_USAGE_CHECKABLE
}
]
But when usage = PROPERTY_USAGE_CHECKABLE
are put in, the property is gone in the inspector.