大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
....loader.load("res/atlas/war.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); } private onLoaded():void{ this.ball = new Ball(); Laya.stage.addChild(this.ball); this.ball.x = Laya.stage.width / 2; this.ball.y = Laya.stage.height / 2; Laya.stage.on(Laya.Event.CLICK,this,this.onC...
来源: Laya_社区 发布时间: 20171108
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 微信小游戏上线了,但凑不够需要的用户量咋办,有人有解决办法么 问题状态 最新活动: 2017-09-20 21:59 浏览: 987 关注: 2 人
来源: Laya_社区 发布时间: 20170920
...eate(this, onSkinLoadComplete)); } private function onSkinLoadComplete(e:*=null):void { placeHScroller(); placeVScroller(); } private function placeHScroller():void { var hs:HScrollBar = new HScrollBar(); hs.skin = "../../../../res/ui/hscroll.png"; hs.width = 300; hs.pos(50, 170); hs.min = 0; hs.max...
来源: Laya_示例 发布时间: 20260303
... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...
来源: Laya3.0_api 发布时间: 20231102
...图集 Laya.loader.load("res/atlas/bag.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { sp=new Sprite(); Laya.stage.addChild(sp); //每隔0.05秒出现下张图片 Laya.timer.loop(50,this,onLoop); } private function onLoop():void { //更改texture的纹理...
来源: Laya_社区 发布时间: 20161107
... console.log('bitmapFont loading', progress); }, null, false)); this.bitmapFont = new BitmapFont(); } onFontLoaded() { // 设置空格的宽 this.bitmapFont.setSpaceWidth(10); // 注册位图字体 Laya.Text.registerBitmapFont(fontName, this.bitmapFont); this.creat...
来源: Laya_社区 发布时间: 20190225
... }),null,Loader.XML) 这样都报错 2018-05-16 0 7 分享 微博 QZONE 微信 薛召 赞同来自: 加入xml解析后,部分机型还是会失败 2018-10-16 0 0 分享 微博 QZONE 微信 timothy19870826 赞同来自: 解决方...
来源: Laya_社区 发布时间: 20180410
...038@ s=0 l=0 I/LayaBox: onerror UnknownError assetsid old: new:null I/LayaBox: xhr.GET *l=http://happiness.joyleafs.com/ncapi/client/app*/index.json I/LayaBox: Download [ ]:http://happiness.joyleafs.com/ncapi/client/app*/index.json W/LayaBox: download error: timeout, dt=8,opttimeout=...
来源: Laya_社区 发布时间: 20210305
... return fs.readFileSync(path, "utf-8"); } return null; } gulp.task('替换Laya前缀', function(){ var layaMaxUI_Path = workSpaceDir + "/src/ui/layaMaxUI.ts" let fileContent = readFile(layaMaxUI_Path); console.log("读取文件",fileContent) ...
来源: Laya_社区 发布时间: 20190128
... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...
来源: Laya3.0_api 发布时间: 20231115