You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We miss the CustomConfig at GameObjectFactory.plugin API.
Code In PluginManager
add: function(plugin){//can not get args,we missed it at GameObjectFactory.pluginvarargs=Array.prototype.slice.call(arguments,1);if(typeofplugin['init']==='function'){plugin.init.apply(plugin,args);}}
I think GameObjectFactory.plugin API should like this
Code In My Game Logic(this will invoke GameObjectFactory.plugin)
Code In GameObjectFactory(this will invoke PluginManager.add)
We miss the
CustomConfig
at GameObjectFactory.plugin API.Code In PluginManager
I think
GameObjectFactory.plugin
API should like thisThe text was updated successfully, but these errors were encountered: