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

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

541. 为什么会出现报错 ani not found:ufo1_down [ 42%]

...添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初始化角色 this.hero.init("hero",0,1,0,30); // 设置...

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

542. 分享:图集资源做位图文本的工具类(知道fontclip组件的可以略过了,之前一直没注意到这个组件) [ 42%]

...is.getResName(char); let sp: Laya.Sprite = this.getSprite(); let tx = Laya.Loader.getRes(resName); if (!tx) { console.warn(TipConfig.tips.haveNoTheChar, char); } sp.texture = tx; this.chars.push(sp); this.addChild(sp); } this.sortCharsByAlign(this._align); } /** * 水平对齐方式 */ public set al...

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

543. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 39%]

...tid 1) {422db6b0} 05-16 15:59:48.898 7562-7562/com.dihong.testdcc I/LibraryLoader: Expected native library version number "",actual native library version number "" 05-16 15:59:48.899 7562-7562/com.dihong.testdcc I/chromium: [INFO:library_loader_hooks.cc(116)] Chromium logging enabled: level = 0, de...

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

544. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 37%]

...ree/clip_tree_folder.png", "../../res/ui/tree/clip_tree_arrow.png" ]; Laya.loader.load(res, new Handler(this, onLoadComplete)); })(); function onLoadComplete() { // 组装tree的数据 var treeData = ""; for (var i = 0; i "; for (var j = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的...

来源: Laya2.0_文档 发布时间: 20210715

545. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 37%]

...s/ui/tree/clip_tree_folder.png", "res/ui/tree/clip_tree_arrow.png" ]; Laya.loader.load(res, new Handler(this, this.onLoadComplete)); } private onLoadComplete(): void { // 组装tree的数据 var treeData: string = ""; for (var i: number = 0; i "; for (var j: number = 0; j "; } treeData += ""; } tree...

来源: Laya2.0_文档 发布时间: 20210714

546. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 36%]

...png", "../../../../res/ui/tree/clip_tree_arrow.png" ]; //加载资源 Laya.loader.load(res, new Handler(this, onLoadComplete)); } /***加载资源完成***/ private function onLoadComplete(e:*=null):void { // 组装tree的数据 var treeData:String = ""; //外层循环为树的父节点(相当于...

来源: Laya2.0_文档 发布时间: 20210715

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

...ackground looper Looper (main, tid 1) {4a7bba70} I/chromium: [INFO:library_loader_hooks.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 ...

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

548. 打包成APK运行一半崩溃 [ 34%]

...use non-0 exit status 04-11 11:17:09.164    8591-8591/? W/System﹕ ClassLoader referenced unknown path: /system/app/WebViewGoogle/lib/arm 04-11 11:17:09.195    8591-8591/? I/cr_LibraryLoader﹕ Time to load native libraries: 6 ms (timestamps 4139-4145) 04-11 11:17:09.195    8591-8591/? I/cr_L...

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

549. 压缩纹理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 33%]

...@regClass() export class Main extends Laya.Script { onAwake(): void { Laya.loader.load(["resource/AtlasConfig.atlas"], Laya.Handler.create(this, () => { let img = new Laya.Image; Laya.stage.addChild(img); img.pos(500, 100); img.skin = "resources/img_bg.png"; //图集中的图片 })); } onStart() ...

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

550. dcc下载超时 [ 32%]

...on 52.0.2743.100 (code 275610010) 07-04 20:55:27.369: W/System(7884): ClassLoader referenced unknown path: /system/app/webview/lib/x86 07-04 20:55:27.375: I/art(7884): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.ServiceWorkerControllerAdapter> 07-0...

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