ProjectSettingsSingleton.addPropertyInfo

Add a custom property info to a property. The dictionary must contain: name:String(the name of the property) and type:long(see TYPE_* in @GlobalScope), and optionally hint:long(see PROPERTY_HINT_* in @GlobalScope), hint_string:String.

struct ProjectSettingsSingleton
@nogc nothrow
void
addPropertyInfo
(
in Dictionary hint
)

Examples

ProjectSettings.set("category/property_name", 0)

var property_info = { "name": "category/property_name", "type": TYPE_INT, "hint": PROPERTY_HINT_ENUM, "hint_string": "one,two,three" }

ProjectSettings.add_property_info(property_info)

Meta