__renderFrameFuncs
This commit is contained in:
parent
a3f66409ae
commit
135ad656ec
@ -361,7 +361,9 @@ core.prototype.init = function (coreData, callback) {
|
||||
core.events.initGame();
|
||||
|
||||
if (core.isset(functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a.plugins)) {
|
||||
core.plugin = new function () {};
|
||||
core.plugin = new function () {
|
||||
this.__renderFrameFuncs = [];
|
||||
};
|
||||
core.plugin.__init__ = functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a.plugins.plugin;
|
||||
core.plugin.__init__();
|
||||
}
|
||||
|
||||
@ -1238,9 +1238,6 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
console.log("插件编写测试");
|
||||
// 可以写一些其他的被直接执行的代码
|
||||
|
||||
// 每帧会执行的函数列表
|
||||
this.__renderFrameFuncs = [];
|
||||
|
||||
// 在这里写所有需要自定义的函数
|
||||
// 写法必须是 this.xxx = function (args) { ...
|
||||
// 如果不写this的话,函数将无法被外部所访问
|
||||
|
||||
Loading…
Reference in New Issue
Block a user