Fix codeblock tag in classes.xml for EditorSettings
(cherry picked from commit 28d7486267
)
This commit is contained in:
parent
4a7d5f7b0e
commit
1e646e2797
1 changed files with 11 additions and 9 deletions
|
@ -11916,7 +11916,8 @@
|
|||
</argument>
|
||||
<description>
|
||||
Add a custom property info to a property. The dictionary must contain: name:[String](the name of the property) and type:[int](see TYPE_* in [@Global Scope]), and optionally hint:[int](see PROPERTY_HINT_* in [@Global Scope]), hint_string:[String].
|
||||
Example:[codeblock]
|
||||
Example:
|
||||
[codeblock]
|
||||
editor_settings.set("category/property_name", 0)
|
||||
|
||||
var property_info = {
|
||||
|
@ -11926,7 +11927,8 @@
|
|||
"hint_string": "one,two,three"
|
||||
}
|
||||
|
||||
editor_settings.add_property_info(property_info)[/codeblock]
|
||||
editor_settings.add_property_info(property_info)
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
<method name="erase">
|
||||
|
|
Loading…
Reference in a new issue