注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
No C++ code for this page,
shown in UnigineScript instead.
shown in UnigineScript instead.
EnginePlugins Class
EnginePlugins Class
Members
int getNumPlugins()
Returns the number of loaded plugins.Return value
Number of loaded plugins.string getPluginName(int num)
Returns the name of the loaded plugin by its index.Arguments
- int num - Index of the loaded plugin.
Return value
Loaded plugin name.int addPlugin(string name)
Adds a plugin in engine runtime by using a name of this plugin.Arguments
- string name - Plugin name.
Return value
1 if the plugin was successfully added, otherwise, 0.Last update: 2017-07-03
Help improve this article
(or select a word/phrase and press Ctrl+Enter)