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

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

141. 发布项目的时候出现TS2663错误,是在UI编辑自动生成的文件里面,是什么原因? [ 52%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not allowed to...

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

142. laya.d3.core.Sprite3D_API3.0 [ 52%]

....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...

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

143. laya.display.Scene [ 52%]

...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...

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

144. 如何通过代码控制prefab上面的时间轴动画animation? [ 52%]

...链接 提交 3 个回复 185*****013 赞同来自: 卡布 var arr:Array = target["_aniList"]; for each(var an:FrameAnimation in arr) { if(an.name=="show") { an.play(); } } 2019-02-15 1 0 分享 微博 QZONE 微信 小声飞 赞同来自: 直接用这个scene 的实例  .show.play(0) 就行了 比...

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

145. laya.display.Node_API3.0 [ 52%]

....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...

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

146. [LayaAir1]安卓启动获取IMEI、IMSI、Mac地址的问题(layaair 1.8 + native 1.0) [ 52%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 LayaNative在Android 11上启动闪退 Animator 如何获取当前所有动画名称呢...

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

147. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 52%]

....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...

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

148. laya2.0用FlashDevelop调用编译,总是打开bin\h5\index.html [ 52%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 请问在layaIDE里,怎么调用微信小程序API Laya中的宏编译要怎么用啊 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 laya2.0加载3d场景...

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

149. laya.d3.core.light.DirectionLight [ 52%]

...。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事...

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

150. dialog的lock属性没出现 [ 52%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. [分享]Dialog 点击边缘不关闭...

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