doc: Markup fixes for enums and constants
This commit is contained in:
parent
c5c320412f
commit
4eff13d768
50 changed files with 167 additions and 158 deletions
|
|
@ -17,7 +17,10 @@
|
|||
<argument index="0" name="hint" type="Dictionary">
|
||||
</argument>
|
||||
<description>
|
||||
Adds a custom property info to a property. The dictionary must contain: name:[String](the property's name) and type:[int](see [code]TYPE_*[/code] in [@GlobalScope]), and optionally hint:[int](see [code]PROPERTY_HINT_*[/code] in [@GlobalScope]), hint_string:[String].
|
||||
Adds a custom property info to a property. The dictionary must contain:
|
||||
- [code]name[/code]: [String] (the property's name)
|
||||
- [code]type[/code]: [int] (see [enum Variant.Type])
|
||||
- optionally [code]hint[/code]: [int] (see [enum PropertyHint]) and [code]hint_string[/code]: [String]
|
||||
[b]Example:[/b]
|
||||
[codeblock]
|
||||
ProjectSettings.set("category/property_name", 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue