大约有 432 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
...(_stream_readable.js:[...] GameInfo.js代码: var GameInfo = (function(_super){ function GameInfo(){ GameInfo.super(this); this.pauseBtn.on(Laya.Event.CLICK, this, this.onPauseBtnClick); this.reset(); } Laya.class(GameInfo, "GameInfo", _super)...
来源: Laya_社区 发布时间: 20170416
...ne; export module ui { export class BGPageUI extends View { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("BGPage"); } } export class MonkeyPageUI extends View { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("MonkeyPag...
来源: Laya_社区 发布时间: 20181014
...加载要时间,如果第二次使用 构造函数因为必须先执行super();才能写其他代码 super(); this.once("onViewCreated",this,this.loader_over); 但在执行 super()时 判断JSON已经加载完毕,直接就触发onViewCreated但这时候还没有监听事件 导致后面监...
来源: Laya_社区 发布时间: 20190718
...享 微博 QZONE 微信 gaowei2024 赞同来自: var Loadings=(function(_super) { function Loadings(){ Loadings.super(this); var Stage = Laya.Stage; var ProgressBar = Laya.ProgressBar; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var progressBar; Laya.init(1024, 600,WebGL); Laya.stage.alignV ...
来源: Laya_社区 发布时间: 20171230
... QZONE 微信 w1114367261 赞同来自: * @example * (function (_super){ * function Item(){ * Item.__super.call(this);//初始化父类 * this.graphics.drawRect(0, 0, 100, 20, "#ff0000"); * var label = new laya.ui.La...
来源: Laya_社区 发布时间: 20180426
...LoginView extends ui.loginUI { normalDialog: NormalDialog; constructor() { super(); this.btn_signin.on(Laya.Event.CLICK, null, () => { this.showDialog("登录成功") }); this.btn_register.on(Laya.Event.CLICK, null, () => { this.showDialog("注册功能暂未开放") }); } showDialog(con...
来源: Laya_社区 发布时间: 20181216
...ayaTest15.zip 2018-02-26 0 0 分享 微博 QZONE 微信 qian 赞同来自: super._x = xxx 改成super.x= xxx 不要直接改_x没有通知到native 2018-02-26 0 1 分享 微博 QZONE 微信 185*****914 - 一些用LAYABOX做的练习小游戏http://iuhigi.cn/ 赞同来自: 我习惯用sprite.p...
来源: Laya_社区 发布时间: 20180226
...3(0, 0, 0), new Vector3(0, 0, 0)); public _start(state:RenderState):void { super._start(state); this._phasorSpriter3D = new PhasorSpriter3D(); this._camera = this._owner.getChildByName("Camera") as Camera; } public _postRenderUpdate(state:RenderState):void { super._update(state); this._point.element...
来源: Laya_社区 发布时间: 20180201
...his.Role.pos(100, 200); Role.js基础代码: var Role = ( function ( _super ) { function Role () { Role._super.call(this); /***一些基础信息***/ } Laya.class( Role , "Role" , Sprite ); var _proto_ = Role.prototype; /******/ return Role; })(); 2018-10-12 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20181012
...= new start(); Laya.stage.addChild(_start); } })(); var start = (function(_super){ function start(){ start.super(this); } Laya.class(start,"start",_super); //var _proto = Game.prototype; return start; })(ui.startUI) 2018-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20181220