Jelajahi Sumber

Merge pull request #7820 from gogojokid/master-1

Custom editor icon section's command wrong or out of date
Max Hilbrunner 1 tahun lalu
induk
melakukan
8e69f6be0c

+ 3 - 2
tutorials/scripting/gdextension/gdextension_cpp_example.rst

@@ -442,8 +442,9 @@ For example:
 
 .. code-block:: none
 
-    [Icon]
-    GDExample = "res://icons/GDExample.svg"
+    [icons]
+
+    GDExample = "res://icons/gd_example.svg"
 
 The path should point to a 16 by 16 pixel SVG image. Read the guide for :ref:`creating icons <doc_editor_icons>`
 for more information.