init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
cc.Class({
|
||||
extends: cc.Component,
|
||||
properties: {},
|
||||
start: function () {
|
||||
cc.sys.platform != cc.sys.OPPO_GAME && (this.node.active = false);
|
||||
(window.qq || window.tt || GlobData.is4399MiNiGame) && (this.node.active = true);
|
||||
},
|
||||
onBtnClick: function () {
|
||||
cc.PlatformTools.executeShowPushBox();
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user