init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
cc.Class({
|
||||
extends: cc.Component,
|
||||
properties: {},
|
||||
onLoad: function () {
|
||||
window.qg || window.qq || (this.node.active = false);
|
||||
},
|
||||
start: function () {
|
||||
var e = this;
|
||||
cc.PlatformTools.addZhuoMianJianCe(function () {
|
||||
e.node.active = false;
|
||||
}, null);
|
||||
},
|
||||
touchEventCallBack: function (e) {
|
||||
cc.PlatformTools.sendToDesktop(this.node, false);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user