bin-debug/SK_Game/sharebox.js
(完整代码) 1KBvar __reflect = (this && this.__reflect) || function (p, c, t) {
p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t;
};
var __extends = this && this.__extends || function __extends(t, e) {
function r() {
this.constructor = t;
}
for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
r.prototype = e.prototype, t.prototype = new r();
};
var game;
(function (game) {
var sharebox = (function (_super) {
__extends(sharebox, _super);
function sharebox() {
var _this = _super.call(this) || this;
_this.addEventListener(eui.UIEvent.COMPLETE, _this.initUI, _this);
_this.skinName = "resource/egamexml/btns/shareBoxs.exml";
return _this;
}
sharebox.prototype.initUI = function () {
//自适应
Sys_Gameset.setEXMLAuto(this);
//播放动画
Sys_Gameset.playAnimation(this.stand, true);
this.sharemask.addEventListener(egret.TouchEvent.TOUCH_TAP, this.unloadUI, this);
};
sharebox.prototype.unloadUI = function () {
this.parent.removeChild(this);
};
return sharebox;
}(eui.Component));
game.sharebox = sharebox;
__reflect(sharebox.prototype, "game.sharebox");
})(game || (game = {}));
//# sourceMappingURL=sharebox.js.map
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
