GDScript: Fix @icon annotation

This commit is contained in:
Danil Alexeev
2023-01-31 17:43:54 +03:00
parent e1648b3327
commit 83cb968965
4 changed files with 38 additions and 10 deletions

View File

@ -563,6 +563,7 @@
[/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.
[b]Note:[/b] Unlike other annotations, the argument of the [code]@icon[/code] annotation must be a string literal (constant expressions are not supported).
</description>
</annotation>
<annotation name="@onready">