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

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

31. WXOpenDataViewer 微信开放数据域 是不是不能响应鼠标拖动事件呢? [ 53%]

...main.ts 里面 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); 和 Laya.AtlasInfoManager.enable("fileconfig.json", Laya.Handler.create(this, this.onConfigLoaded)); 都要删掉。 内涵tv何吓...

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

32. runTime使用(ActionScript-IDE篇(AS3)-组件化开发相关) [ 52%]

...a.net.AtlasInfoManager; import laya.net.ResourceVersion; import laya.utils.Handler; import laya.utils.Stat; import laya.utils.Utils; import laya.d3.core.particleShuriKen.module.StartFrame; import laya.display.Sprite; import ui.BGPageUI; import ui.MonkeyPageUI; public class Main { public function Mai...

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

33. laya.ui.DialogManager [ 52%]

...有额外内存开销,无需renderTarget支持。 Sprite  closeEffectHandler : Handler全局默认弹出对话框效果,可以设置一个效果代替默认的弹出效果,如果不想有任何效果,可以赋值为nullDialogManager customRenderEnable : Boolean[write-only] 设置是否开...

来源: Laya2.0_api 发布时间: 20190513

34. demo中的2d和3d混合 加载ktx的资源 会白色的 其他ui没有问题 [ 48%]

...a.loader.load([{url:"minastc.config.json",type:Laya.Loader.JSON}],new Laya.Handler(this,function(){             this.astcconfig = Laya.loader.getRes("minastc.config.json");             for(var key in this.astcconfig){                 var fileversion = Laya.ResourceVersion.manifes...

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

35. 预制体模块 · LayaAir3文档 · LAYABOX [ 47%]

...load,同时可以加载2D,3D资源 Laya.loader.load(resArr, null, Laya.Handler.create(this, this.onLoading, null, false)).then(() => { // 加载完成后,处理逻辑 this.progress.value = 0.98; console.log("加载结束", this.progress.value); //预加载的东西太少,为了本地看效...

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

36. 预制体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...load,同时可以加载2D,3D资源 Laya.loader.load(resArr, null, Laya.Handler.create(this, this.onLoading, null, false)).then(() => { // 加载完成后,处理逻辑 this.progress.value = 0.98; console.log("加载结束", this.progress.value); //预加载的东西太少,为了本地看效...

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

37. Cannot read property 'load' of null [ 46%]

...p/28.jpg", "res/img/map/29.jpg", ]; Laya.loader.load(this.skins,laya.utils.Handler.create(this, this.LoadSuccess,null,false)); } private LoadSuccess() { ViewManager.getInstance().CreateView(contant.loginId,new LoginView()); ViewManager.getInstance().ShowView(contant.loginId); } public SwictMap(index...

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

38. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 46%]

...也不影响后续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); } onVersionLoaded(): void { //激活大小图映射,加载小图的时候,如果发现小图在大图合集里面,则优先加载大图...

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

39. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 44%]

...ad(["res/atlas/test.atlas", "test/1.png", "test/2.png", "test/3.png"],Laya.Handler.create(this,this.onComplete)); } }.bind(this)); }else { Laya.loader.load("res/atlas/test.atlas",Laya.Handler.create(this,this.onComplete)); } ​ } ​ onComplete(): void { //初始化rank排行榜 var rank = new BigR...

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

40. laya.ui.ColorPicker_API3.0 [ 41%]

...orPicker 实例。 package { import laya.ui.ColorPicker; import laya.utils.Handler; public class ColorPicker_Example { public function ColorPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/...

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