EditorSettingsAddPropertyInfo Method |
Adds a custom property info to a property. The dictionary must contain:
- name: String (the name of the property)
- type: Int32 (see VariantType)
- optionally hint: Int32 (see PropertyHint) and hint_string: String
Example:
editor_settings.set("category/property_name", 0) var property_info = { "name": "category/property_name", "type": TYPE_INT, "hint": PROPERTY_HINT_ENUM, "hint_string": "one,two,three" } editor_settings.add_property_info(property_info)
Namespace: Godot
public void AddPropertyInfo( Dictionary info )
[Missing <param name="info"/> documentation for "M:Godot.EditorSettings.AddPropertyInfo(Godot.Collections.Dictionary)"]