diff options
| author | Danil Alexeev <danil@alexeev.xyz> | 2024-04-15 22:10:47 +0300 |
|---|---|---|
| committer | Danil Alexeev <danil@alexeev.xyz> | 2024-05-13 17:49:06 +0300 |
| commit | 76b2d85c9fb10426fad78a8d2dbafd8ca08a4b89 (patch) | |
| tree | 618818f4db09b0b9eec45e42f7316c406fcc64b4 /modules/gdscript/doc_classes | |
| parent | bdc0316217940a8ccc80ce536547d42e6477adf4 (diff) | |
| download | redot-engine-76b2d85c9fb10426fad78a8d2dbafd8ca08a4b89.tar.gz | |
GDScript: Fix some export annotation issues
Diffstat (limited to 'modules/gdscript/doc_classes')
| -rw-r--r-- | modules/gdscript/doc_classes/@GDScript.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gdscript/doc_classes/@GDScript.xml b/modules/gdscript/doc_classes/@GDScript.xml index 07d917ea04..1909ca5ab5 100644 --- a/modules/gdscript/doc_classes/@GDScript.xml +++ b/modules/gdscript/doc_classes/@GDScript.xml @@ -349,10 +349,11 @@ <param index="1" name="hint_string" type="String" /> <param index="2" name="usage" type="int" enum="PropertyUsageFlags" is_bitfield="true" default="6" /> <description> - Allows you to set a custom hint, hint string, and usage flags for the exported property. Note that there's no validation done in GDScript, it will just pass the hint along to the editor. + Allows you to set a custom hint, hint string, and usage flags for the exported property. Note that there's no validation done in GDScript, it will just pass the parameters to the editor. [codeblock] @export_custom(PROPERTY_HINT_NONE, "suffix:m") var suffix: Vector3 [/codeblock] + [b]Note:[/b] Regardless of the [param usage] value, the [constant PROPERTY_USAGE_SCRIPT_VARIABLE] flag is always added, as with any explicitly declared script variable. </description> </annotation> <annotation name="@export_dir"> |
