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

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

191. 微信小游戏Worker使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

...iWorkerLoader类,继承自Laya.WorkerLoader,并重定向WorkerLoader的enable属性到MiniWorkerLoader类的enable属性中进行微信Worker的初始化,使用wx.createWorker方法创建Worker线程,如下图所示: ​ 并在微信Worker线程的onMessage回调中注册为MiniWorkerLoade...

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

192. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 68%]

...id: number; protected _cachedOwnerLayerMask: number; protected _cachedOwnerEnable: boolean; protected _enable: boolean; protected _owner: laya.d3.core.Sprite3D; /**是否已执行start函数。*/ started: boolean; /** * 获取唯一标识ID。 * @return 唯一标识ID。 */ id: number; /** * 获取...

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

193. laya.utils.Stat [ 67%]

...int = 0[static] 三角形面数。StatPublic Methods  MethodDefined By  enable():void[static] 激活性能统计Stat  hide():void[static] 隐藏性能统计信息。 Stat  show(x:Number = 0, y:Number = 0):void[static] 显示性能统计信息。 StatProperty DetailcanvasBitmappropertypublic s...

来源: laya_api 发布时间: 20170929

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

...面不能用图集,用不打包 ,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.onConfigLoad...

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

195. 打包发布vivo,调试黑屏 [ 66%]

...自动生成,如果没有也不影响后续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION);4-在成功回调中加载场景 onVersionLoaded(): void { //激活大小图映射,加载小图的时候,如果...

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

196. 骨骼动画-多纹理 [ 66%]

...rmature:Skeleton; private mCurrSkinIndex:number = 0; constructor() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "res/spine/spineRes1/dragon.sk"; this.mFactory = new Templet(); this...

来源: Laya2.0_示例 发布时间: 20251130

197. laya.utils.Stat [ 66%]

...eCanvas : Boolean = false[static] StatPublic Methods  MethodDefined By  enable():void[static] 激活性能统计Stat  hide():void[static] 隐藏性能统计信息。 Stat  show(x:Number = 0, y:Number = 0):void[static] 显示性能统计信息。 StatProperty Detail_useCanvaspropertypublic sta...

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

198. 构建好android studio项目后,debug出错 [ 65%]

...://stand.alone.version/libs/laya.ui.js I/ViewRootImpl: CPU Rendering VSync enable = true I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode let runtime = json.props.runtime; ^^^ SyntaxError: Block-scoped declara...

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

199. 2D物理-仿生机器人 [ 65%]

...rue; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = ...

来源: Laya2.0_示例 发布时间: 20251130

200. 打包安卓Android studio黑屏 [ 64%]

...ON_SLIDE=5000 REPORT_TIMES_SLIDE=16 D/OpenGLRenderer:   HWUI Binary is  enabled     disableOutlineDraw is true D/a: Mainactivity---------------------------------oncreate     Mainactivity---------------------------------initEngine D/: >>>>>>>>>>>>>>&gt...

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