Godot 扩展 c++ 模块与 android 模块。有什么不同?

Godot extensions c++ modules vs android modules. What is the difference?

查看 godot wiki 上的 c++ 扩展教程,除了处理 android 模块的分离之外,一切都非常有意义: http://docs.godotengine.org/en/stable/development/cpp/creating_android_modules.html

创建常规 c++ godot 扩展和使用上述指南创建 android 扩展之间究竟有什么区别?我认为你可以简单地创建你的 c++ 扩展并为 android 编译 godot,使用你的 c++ 扩展的正常方式,如下所示: http://docs.godotengine.org/en/stable/development/compiling/compiling_for_android.html

所以 C++ 模块是 Godot 引擎的扩展,它帮助我们向 Godot 引擎添加更多功能。

而 Android 模块也用于添加一种在 Andriod 和引擎的 C++ 代码之间进行接口的方法。正如文档中所写和我引用的那样,

On Android, interfacing with C++ through JNI (Java Native Interface) isn’t as convenient.

因此 Andriod 模块 will/should 可帮助您在 Godot 游戏中设置广告、分析、通知等。