• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 407 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)

401. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 32%]

... private function onLink(data:*):void { // TODO Auto Generated method stub Browser.window.location.href=data; }5、实现html页面跳转 示例如下: var iHtml:HTMLIframeElement=new HTMLIframeElement(); Laya.stage.addChild(iHtml); iHtml.href="res/html/test.html";6、简单的图片显示 示例...

来源: Laya_社区 发布时间: 20161027

402. 打包安卓Android studio黑屏 [ 31%]

...ator with package name = com.google.android.webview, sandboxed = true I/cr_BrowserStartup: Initializing chromium process, singleProcess=false D/ConnectivityManager: requestNetwork and the calling app is: com.layabox.test W/om.layabox.tes: Accessing hidden method Landroid/view/textclassifier/logging/...

来源: Laya_社区 发布时间: 20190723

403. 项目设置面板 · LayaAir3.3 · 引擎文档 · LAYABOX [ 29%]

...自定义一个全局错误 let err = new Error("自定义的Error"); Laya.Browser.window.onerror(err.message, "", "", "", err); 运行时,就会弹窗抛出异常,效果如图1-12所示。 (图1-12) 二、引擎库模块 LayaAir引擎有多个模块组件,在IDE中默认只引入了较为...

来源: Laya3.0_文档 发布时间: 20251014

404. laya.ui.Tree_API3.0 [ 29%]

...结构数据。 example package { import laya.ui.Tree; import laya.utils.Browser; import laya.utils.Handler; public class Tree_Example { public function Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", ...

来源: Laya3.0_api 发布时间: 20231115

405. 官方案例里摄像机绕物体旋转脚本的问题 [ 26%]

...ya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpdate(): void { if (Laya.Browser.onMobile) { this.AroundByMobileInput(); } else { this.AroundByMouseInput(); } if (!this.canRotation_X) this.targetAngles.y = 0; if (!this.canRotation_Y) this.targetAngles.x = 0; //Lerp. this.CurrentAngles = this.LerpV...

来源: Laya_社区 发布时间: 20190224

406. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 21%]

...a.Image(); img.size(110, 145); // 设置图片显示大小 img.skin = Laya.Browser.window.URL.createObjectURL(new Blob([uint8Array], { type: 'image/png' })); img.centerX = 0; // 设置图片居中显示 // 将图片添加到舞台显示 Laya.stage.addChild(img); } else { console.log("收到数据:",...

来源: Laya3.0_文档 发布时间: 20251010

407. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 18%]

...ooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0 I/BrowserProcessMain: Initializing chromium process, renderers=0 W/chromium: [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation D/libEGL: loaded /system/lib/egl/libEGL_adreno.so   ...

来源: Laya_社区 发布时间: 20171218