大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...ript Laya.Mesh.load("res/threeDimen/Physics/table.lm", Laya.Handler.create(this, function(mesh) { //....省略中间 //读取导出的桌子模型 var table = scene.addChild(new Laya.MeshSprite3D(mesh)); //给桌子加刚体并且设置刚体属性 var rigidBody = table.addComponent(Laya.Rigidbody3D...
来源: Laya2.0_文档 发布时间: 20210715
...om/'>LayaBox欢迎你的加入!</span>"; div.on(Laya.Event.LINK,this,(data:any)=>{ Laya.Browser.window.location.href=data; }); Laya.stage.addChild(div); 运行效果: 点击文字链接可以打开浏览器访问网址 3.6 实现html页面跳转 示例如下: var iHtml:HTMLIframeEl...
来源: Laya3.0_文档 发布时间: 20230303
...HX0217401012320 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. D/ActivityThread: Attach th...
来源: Laya_社区 发布时间: 20190723
...id { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); this.init(); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash...
来源: Laya_社区 发布时间: 20151218
...17:12:40.307 13946-14056/com.wesai.doudizhu I/LayaBox: release JSWebSocket this=ab911fa0 deletgate=ab914318 05-17 17:12:40.307 13946-14056/com.wesai.doudizhu E/LayaBox: >>>>>>>>>>>>>>>>>>>>>>>>>>>>className:layaair.g...
来源: Laya_社区 发布时间: 20170517
...面上的任意节点命名并定义变量,运行时便可直接通过 this.xx 的形式访问这些节点,而无需手动逐层查找节点或通过 getChildByName 方式定位。这种机制极大地提升了 UI 结构的可维护性与脚本编写效率,特别适用于层级复杂的界面...
来源: Laya3.0_文档 发布时间: 20251010
... ```typescript Mesh.load("res/threeDimen/Physics/table.lm", Handler.create(this, function(mesh:Mesh):void { //....省略中间 //读取导出的桌子模型 var table:MeshSprite3D = scene.addChild(new MeshSprite3D(mesh)) as MeshSprite3D; //给桌子加刚体并且设置刚体属性 var rigidBody:Rig...
来源: Laya2.0_文档 发布时间: 20210714
...ript Laya.Mesh.load("res/threeDimen/Physics/table.lm", Laya.Handler.create(this, function(mesh:Laya.Mesh) { //....省略中间 //读取导出的桌子模型 var table = scene.addChild(new Laya.MeshSprite3D(mesh)) as Laya.MeshSprite3D; //给桌子加刚体并且设置刚体属性 var rigidBody = tabl...
来源: Laya2.0_文档 发布时间: 20210714
...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
...所有的Dialog一次性全部关闭 手册上确实有closeAll 我尝试this.closeAll 结果却是错的 就算在论坛找答案,也找不到最简单最直接答案 我只能像以前一样,满世界的找,不停的翻找文档 最后Laya.Dialog.closeAll(),成功了 到这里,我似乎明白了...
来源: Laya_社区 发布时间: 20180524