Преглед на файлове

Fix incorrect class name in in GDNative C example image (#3714)

Co-authored-by: Jonas <[email protected]>
Jonas Mun преди 5 години
родител
ревизия
01d5ec63b8
променени са 2 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      tutorials/plugins/gdnative/gdnative-c-example.rst
  2. BIN
      tutorials/plugins/gdnative/img/nativescript_library.png

+ 6 - 0
tutorials/plugins/gdnative/gdnative-c-example.rst

@@ -510,6 +510,12 @@ select our ``.gdnlib`` file by clicking on *Library* and selecting *Load*:
 
 .. image:: img/nativescript_library.png
 
+.. note::
+
+    The *Class Name* must have the same spelling as the one given in ``godot_nativescript_init``
+    when registering the class.
+
+   
 Finally, click on the save icon and save this as ``bin/simple.gdns``:
 
 .. image:: img/save_gdns.gif

BIN
tutorials/plugins/gdnative/img/nativescript_library.png