大约有 573 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)
Laya_社区(347) Laya3.0_api(60) Laya2.0_文档(52) Laya_示例(41) Laya2.0_示例(40) Laya3.0_文档(29) laya_api(2) Laya2.0_api(2)
...cts without image resources), specifies whether the mouse events penetrate this object's collision detection. `true` means the object is penetrable, `false` means it is not penetrable. * When penetrable, the engine will no longer detect this object and will recursively check its child objects until ...
来源: Laya_社区 发布时间: 20250825
...就连www.baidu.com,这个加头后,为啥还连不上, 看代码-> this.hr=new HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError...
来源: Laya_社区 发布时间: 20151028
...alpha有效果,scalex和scaley没有变化,怎么回事啊? Warning!,this class[MiniAdpter] already exist: Object {init: } class导出问题 Uncaught Can not find class Laya.Text ClassUtils.getClass获取不到Class 脚本重命名后报Uncaught Can not find class 错误 Uncaught Can not find ...
来源: Laya_社区 发布时间: 20170406
... room.level.text = (i + 1) + "楼"; room.y = i; this.tower.addChild(room); } 2020-10-24 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 好名字可以让你的朋友更容易记住你。 相...
来源: Laya_社区 发布时间: 20201001
...类是场景类'); } } } 导出UI 导出后layaMaxUI.ts的内容如下/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; import {base} from "../script/base/BaseScene"; import Base...
来源: Laya_社区 发布时间: 20200827
...ptional string packet_iidiid = 4; } 通过 ProtoBuf.load("protocol.proto", this.onLoaded); function onLoaded(err:any, root:any):void{ if (err) throw err; // Obtain message types var msgDefine:any = = root.lookup("protocols.packetc2g_select_gate"); var newMessage:any = msgDefine.create(); } 然后发...
来源: Laya_社区 发布时间: 20170914
...是灰色的,叠加在上面变成白色 Laya.Scene.root.addChildAt(this.simpleTips, Laya.Scene.root.numChildren - 1); 附件 : --> 2025-06-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabox 赞同...
来源: Laya_社区 发布时间: 20250612
...label); sp.size(200,200); Laya.stage.addChild(sp); Laya.timer.frameLoop(60,this,function():void{ var htmlC:HTMLCanvas=sp.drawToCanvas(200,200,0,0); var texture:Texture=new Texture(htmlC); var sp2:Sprite=new Sprite(); sp2.graphics.drawTexture(texture,100,100,100,100); sp2.pos(300,0); Laya.stage.addCh...
来源: Laya_社区 发布时间: 20180403
...t滚动位置的问题 ... mDemoUi.myScrollBar.changeHandler = new Handler(this, onChange); for(var m:int=0;m<21;m++){ data.push({m_label:"No."+m}); } mDemoUi.m_list.array=data; Laya.stage.addChild(mDemoUi); ... private function onChange():void{ trace("list index= "+mDemoUi.m_list.scrollBar.value...
来源: Laya_社区 发布时间: 20171016
...锁定, 无法添加新回复 发起人 156*****212 相关问题 Warning!,this class[MiniAdpter] already exist: Object {init: } 3D场景中加入lh精灵,再删除后有时会出问题。 插件使用中动画导出问题,很慢么? list列表加定时器超过一页后必出问题 Uncaught 无法...
来源: Laya_社区 发布时间: 20190701