25 lines
414 B
JavaScript
25 lines
414 B
JavaScript
|
|
"use strict";
|
||
|
|
cc._RF.push(module, '7f8c8b1j9BMA6iGoqhOkrD1', 'sceneMain');
|
||
|
|
// Scripts/sceneMain.js
|
||
|
|
|
||
|
|
"use strict";
|
||
|
|
|
||
|
|
cc.Class({
|
||
|
|
"extends": cc.Component,
|
||
|
|
properties: {
|
||
|
|
bg: {
|
||
|
|
"default": null,
|
||
|
|
type: cc.Node
|
||
|
|
},
|
||
|
|
views: {
|
||
|
|
"default": null,
|
||
|
|
type: cc.Node
|
||
|
|
}
|
||
|
|
},
|
||
|
|
onLoad: function onLoad() {
|
||
|
|
window.game.bg = this.bg;
|
||
|
|
window.game.views = this.views;
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|
||
|
|
cc._RF.pop();
|