大约有 2,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1424) Laya2.0_文档(233) Laya_示例(141) Laya2.0_示例(117) Laya3.0_api(61) Laya3.0_文档(44) Laya2.0_api(7) laya_api(6)
...你们构建出的android的nativie的代码中 mProxy = new RuntimeProxy(this); mPlugin = new GameEngine(this); mPlugin.game_plugin_set_runtime_proxy(mProxy); mPlugin.game_plugin_set_option("localize","false"); mPlugin.game_plugin_set_option("gameUrl", ""); mPlugin.game_plugin_init(3); Vi...
来源: Laya_社区 发布时间: 20170906
...source/ui/vscroll$down.png", "resource/ui/vscroll$up.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete():void { var arr:Array = [];//创建一个数组,用于存贮列表的数据信息。 for (var i:int = 0; i < 20; i++) { arr.push({label: "item" + i}); } var list...
来源: Laya3.0_api 发布时间: 20231115
...shape无效 rig.shapes = [shape]; sp.addComponentInstance(rig); this.Sprite.parent.addChild(sp); //设置ide中Sprite节点的shape有效 this.Sprite.getComponent(Laya.RigidBody).shapes = [shape]; 附件 : --> LayaProject_(2).zip 2025-09-12 3 条评论 免费帖 --> 分享 微博 QZON...
来源: Laya_社区 发布时间: 20250912
... var handler : laya.utils.Handler = laya.utils.Handler.create(this, this.onGetStartScene); GameConfig.startScene && Laya.Scene.open(GameConfig.startScene, true, null, handler ); // open的返回值是void,所以不能通过open的返回值拿到 } o...
来源: Laya_社区 发布时间: 20181206
...box.com/'>LayaBox欢迎你的加入!</span>"; div.on(Event.LINK,this,onLink); Laya.stage.addChild(div); } private function onLink(data:*):void { // TODO Auto Generated method stub Browser.window.location.href=data; }5、实现html页面跳转 示例如下: var iHtml:HTMLIframeElement=ne...
来源: Laya_社区 发布时间: 20161027
..." has in SingletonList."; return; this._add(element); element._setIndexInList(this.length++); } 2019-10-21 0 2 分享 微博 QZONE 微信 155*****359 赞同来自: 请问vivo的调试怎么捕获这个异常信息呀? 2019-11-23 0 0 分享...
来源: Laya_社区 发布时间: 20191021
.../Assets/BakerHouse/Models/Baker_house-Baker_house.lm"],Laya.Handler.create(this, this.completeHandler)); completeHandler(): void { Laya.stage.addChild(Laya.loader.getRes("LayaScene_Scene/Scene.ls")); Laya.stage.addChild(Laya.loader.getRes("LayaScene_Scene/Assets/BakerHouse/Models/Baker_house-Baker_h...
来源: Laya_社区 发布时间: 20181221
... 的 var 属性设置一个 名字 比如 img img.on(Event.MOUSE_DOWN, this, 回调方法); 2018-01-11 1 5 分享 微博 QZONE 微信 qian 赞同来自: 你可以参考这个示例https://ldc.layabox.com/doc/?nav=zh-as-4-1-0 2018-01-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20180111
...sprite.graphics.drawTexture(texture, 0, 0,texture.width,texture.height); this.addChild(sprite); } LayaUISample.max.js:19468 Uncaught TypeError: Cannot read property 'width' of undefined at Texture.moveUV (LayaUISample.max.js:19468) at GraphicsGL.__proto.drawTexture (LayaUISam...
来源: Laya_社区 发布时间: 20180725
...l:"res/atlas/comp.json",type:Loader.ATLAS},{url:"bg2.png"}],Handler.create(this,onCom)); } private function onCom():void { var img:Image=new Image(); img.skin="bg2.png"; panel=new Panel(); panel.vScrollBarSkin="comp/vscroll.png"; panel.width=300; panel.height=300; Laya.stage.addChild(panel); panel.a...
来源: Laya_社区 发布时间: 20161103