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

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

1061. spine适配版微信开发者平台报错 [ 51%]

...摇报错,就解决方案 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2021-12-08 14:57 浏览: 3698 关注: 2 人 northTg • 2021-12-09 11:09 非常感觉提供帮助 ,我这边提供demo的时候发现最新的库是没有问题的 换掉全部相关库后...

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

1062. laya.particle.Particle2D_API3.0 [ 51%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

1063. 设置自动竖屏后 打包APP 安装到手机后显示黑屏 不设置自动竖屏又正常 [ 51%]

...手机后显示黑屏 不设置自动竖屏又正常         public function LayaSample()         {             //初始化引擎,建议增加WebGl模式             Laya.init(720, 1280,WebGL); //            Stat.show();             //全屏不等比...

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

1064. laya.map.MapLayer_API3.0 [ 50%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

1065. laya.d3.core.render.BaseRender_API3.0 [ 50%]

...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface Static method

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

1066. 缓存工具-layadcc · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

... await dcc.updateAll((p)=>{/*进度提示*/}) 4.5 使用zip更新 async function downloadBigZip(url:string):Promise<string|null>{ let cachePath = conch.getCachePath(); let localfile = cachePath+url.substring(url.lastIndexOf('/')); return new Promise((resolve,reject)=>{ downloadBigFile(ur...

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

1067. Animation 的createFrames 使用已经加载的图集缓存动画失败 [ 50%]

...ath:String = "res/fighter/fighter.json"; private var fly:Animation; public function Animation_Altas() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); } p...

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

1068. laya.d3.component.hlod.HLODRender_API3.0 [ 50%]

...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface

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

1069. 使用layaide进行打包,提示如下错误。 [ 50%]

...行打包,提示如下错误。 Block-scoped declarations (let, const, function, class) not yet supported outside strict mode   网上搜索答案,有的说是因为在tsconfig中,将target调整成了es6就不可以运行了,但是我的代码使用了一些es6的特性,请问应该如...

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

1070. laya.display.Sprite_API3.0 [ 50%]

...prite_Example { private var sprite:Sprite; private var shape:Sprite public function Sprite_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();/...

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