Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
GDExtension 系統
GDExtension 是 Godot 專屬的一項技術,它允許引擎在執行時與本機的 shared libraries 進行互動。你可以利用它來執行原生程式碼,而無需將這些程式碼與引擎一起編譯。
備註
GDExtension 不是 指令碼語言,也與 GDScript 無關。
本節介紹 GDExtension 的運作方式,主要面向想要從零實作 GDExtension(例如建立語言綁定)的人。如果你只想使用現有的語言綁定,請參閱其他文章,例如 C++(godot-cpp) 或其中一個 社群製作的綁定。