浏览代码

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. 二进制
      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

二进制
tutorials/plugins/gdnative/img/nativescript_library.png