Fix description of adding class icon in 3.4

This commit is contained in:
Haoyu Qiu
2021-12-25 12:55:26 +08:00
parent 0d7ac6d263
commit 4e8197220e

View File

@@ -1069,8 +1069,8 @@ Registering named classes
~~~~~~~~~~~~~~~~~~~~~~~~~
You can give your class a name to register it as a new type in Godot's
editor. For that, you use the ``class_name`` keyword. You can optionally use
the ``@icon`` annotation with a path to an image, to use it as an icon. Your
editor. For that, you use the ``class_name`` keyword. You can optionally add
a comma followed by a path to an image, to use it as an icon. Your
class will then appear with its new icon in the editor::
# Item.gd