diff options
author | Adam Scott <ascott.ca@gmail.com> | 2023-01-18 08:03:20 -0500 |
---|---|---|
committer | Adam Scott <ascott.ca@gmail.com> | 2023-01-18 19:48:01 -0500 |
commit | 807b7ed557950ef9bd17266a35f7f83b1181e130 (patch) | |
tree | c3323e08d2affdf63922b13510d2d9543457bc75 /modules/gdscript/doc_classes | |
parent | d93b66ad4d6b1dae42cc318c16224d03bd1a1472 (diff) |
Update `@icon` definition to add a note
Diffstat (limited to 'modules/gdscript/doc_classes')
-rw-r--r-- | modules/gdscript/doc_classes/@GDScript.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/doc_classes/@GDScript.xml b/modules/gdscript/doc_classes/@GDScript.xml index fd748ea569..3fe741a582 100644 --- a/modules/gdscript/doc_classes/@GDScript.xml +++ b/modules/gdscript/doc_classes/@GDScript.xml @@ -553,6 +553,7 @@ @icon("res://path/to/class/icon.svg") [/codeblock] [b]Note:[/b] Only the script can have a custom icon. Inner classes are not supported. + [b]Note:[/b] As annotations describe their subject, the [code]@icon[/code] annotation must be placed before the class definition and inheritance. </description> </annotation> <annotation name="@onready"> @@ -585,6 +586,7 @@ @tool extends Node [/codeblock] + [b]Note:[/b] As annotations describe their subject, the [code]@tool[/code] annotation must be placed before the class definition and inheritance. </description> </annotation> <annotation name="@warning_ignore" qualifiers="vararg"> |