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

Clarify that iOS plugin's files have to be in a very specific directory to work (#7379)

Co-authored-by: Max Hilbrunner <[email protected]>
Konstantin Kopka преди 2 години
родител
ревизия
58f104892c
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      tutorials/platform/ios/ios_plugin.rst

+ 4 - 0
tutorials/platform/ios/ios_plugin.rst

@@ -28,6 +28,10 @@ When a plugin is active, you can access it in your using ``Engine.get_singleton(
         var singleton = Engine.get_singleton("MyPlugin")
         var singleton = Engine.get_singleton("MyPlugin")
         print(singleton.foo())
         print(singleton.foo())
 
 
+.. note::
+
+   The plugin's files have to be in the ``res://ios/plugins/`` directory or a subdirectory, otherwise the Godot editor will not automatically detect them.
+
 Creating an iOS plugin
 Creating an iOS plugin
 ----------------------
 ----------------------