Skip to content

Commit fe259f7

Browse files
committed
classref: Sync with current master branch (518b9e580)
1 parent b168eb5 commit fe259f7

File tree

158 files changed

+3891
-4711
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+3891
-4711
lines changed

classes/[email protected]

+5-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ See also :ref:`@GlobalScope.PROPERTY_HINT_NODE_PATH_VALID_TYPES<class_@GlobalSco
482482

483483
::
484484

485-
@export_node_path(Button, TouchScreenButton) var some_button
485+
@export_node_path("Button", "TouchScreenButton") var some_button
486486

487487
.. rst-class:: classref-item-separator
488488

@@ -577,6 +577,8 @@ Add a custom icon to the current script. The script must be registered as a glob
577577

578578
\ **Note:** Only the script can have a custom icon. Inner classes are not supported.
579579

580+
\ **Note:** As annotations describe their subject, the ``@icon`` annotation must be placed before the class definition and inheritance.
581+
580582
.. rst-class:: classref-item-separator
581583

582584
----
@@ -626,6 +628,8 @@ Mark the current script as a tool script, allowing it to be loaded and executed
626628
@tool
627629
extends Node
628630

631+
\ **Note:** As annotations describe their subject, the ``@tool`` annotation must be placed before the class definition and inheritance.
632+
629633
.. rst-class:: classref-item-separator
630634

631635
----

0 commit comments

Comments
 (0)