大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...stage.scaleMode = Stage.SCALE_FULL; Stat.show(); Laya.stage.on(Event.CLICK,this,clickFun); } private function clickFun():void { if( clip == null ){ clip = new Clip("1.png",6,6); Laya.stage.addChild(clip); clip.play(); }else{ clip.dispose(); clip = null; } } 请官方给一个解决方案 目前我...
来源: Laya_社区 发布时间: 20171128
...offsetX:Number, offsetY:Number):HTMLCanvas { return RunDriver.drawToCanvas(this, _renderType, canvasWidth, canvasHeight, offsetX, offsetY); } 2017-05-10 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 lu632375951 相关问题 请问LayaAi...
来源: Laya_社区 发布时间: 20170510
...• 2016-12-28 10:34 不行,编译时提醒报错,warning:QUnit.module This variable is not defined.我想使用QUnit这个框架,请给一个完整的示例项目好吗 charley • 2016-12-28 16:56 @15068753667:需要在引用LayaAir引擎库之前,先引用第三方JS库,再通过引擎提...
来源: Laya_社区 发布时间: 20161226
...xx)就是list.datasource[xxx]吧? weiyongwill • 2017-01-06 11:21 "this.sList.getItem(...).getChildByName is not a function" weiyongwill • 2017-01-06 14:39 经过测试在List.mouseHandler中点其他的元素都能通过e.target.name获取到名字,唯独textinput通过e.target.nam...
来源: Laya_社区 发布时间: 20170105
...stage.scaleMode = Stage.SCALE_FULL; Stat.show(); Laya.stage.on(Event.CLICK,this,clickFun); } private function clickFun():void { if( clip == null ){ clip = new Clip("1.png",6,6); Laya.stage.addChild(clip); clip.play(); }else{ clip.dispose(); clip = null; } } 2017-11-28 0 0 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20171128
...,对象缩小了 var equipSkinedMeshSprite3D:Laya.SkinnedMeshSprite3D; this.role3D.getChildAt(0).addChild(equipSkinedMeshSprite3D); equipSkinedMeshSprite3D.transform.scale = new Laya.Vector3(2.54, 2.54, 2.54); 补充: 衣服单独添加到场景没有问题, 添加...
来源: Laya_社区 发布时间: 20180905
...册一个方法: window["natvieCallJs"] = function(msg,data){ }.bind(this);然后,Java这边: public static void callToJs(int msg, JSONObject data) { StringBuilder cmd = new StringBuilder("window.natvieCallJs("); cmd.append(msg); cmd.append(','); cmd.append(data); cmd.append(')'); Log.d("JS...
来源: Laya_社区 发布时间: 20190515
...Laya.loader.load("http://192.168.1.21:90/Game_Config.xml",Handler.create(this,onLoadered)); public function onLoadered(data:*):void { trace("data:" + data); } 来完成文件的加载,在文件加载完会返回xml的内容信息,这是你可以解析加载的xml内容 2016-11-20 0 0 分享 ...
来源: Laya_社区 发布时间: 20161120
...0*****745 • 2018-06-05 12:06 我用的是Laya.stage.on(Laya.Event.CLICK, this, function (e) {}),请问怎么销毁,销毁以后到下一个页面要重新绑定事件吗? Laya_Aaron • 2018-06-05 14:56 @150*****745:你的代码不给我讲我很难找到你说的这段,stage 是单例,...
来源: Laya_社区 发布时间: 20180605
..."; spr.addChild(te); Laya.stage.addChild(spr); Laya.stage.on(Event.CLICK, this, function():void { if (Laya.stage.screenMode == Stage.SCREEN_HORIZONTAL) { if (Browser.window.conchConfig) { Browser.window.conchConfig.setScreenOrientation(1); } Laya.stage.screenMode = Stage.SCREEN_VERTICAL; Laya.stage....
来源: Laya_社区 发布时间: 20170801