Browse Source

Merge pull request #1832 from Ashafix/plugin

clarified section about adding icons to plugins
Nathan Lovato 6 years ago
parent
commit
5d2c62dcf1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/plugins/editor/making_plugins.rst

+ 1 - 1
tutorials/plugins/editor/making_plugins.rst

@@ -118,7 +118,7 @@ clicked. And for that we'll need a simple script that extends from
 
 
 That's it for our basic button. You can save this as ``button.gd`` inside the
 That's it for our basic button. You can save this as ``button.gd`` inside the
 plugin folder. You'll also need a 16x16 icon to show in the scene tree. If you
 plugin folder. You'll also need a 16x16 icon to show in the scene tree. If you
-don't have one, you can grab the default one from the engine:
+don't have one, you can grab the default one from the engine, save it in your `addons/my_custom_node` folder as `icon.png` or you use the default Godot logo (`preload("res://icon.png")`).
 
 
 .. image:: img/making_plugins-custom_node_icon.png
 .. image:: img/making_plugins-custom_node_icon.png