大约有 20 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0051 秒)
...hrome出现错误: Error processing launch: Error Could not attach to main target 关于遍历产生的sprite的点击事件,急,大神帮看哈 如何设置Sprite的宽高和点击区域? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 ...
来源: Laya_社区 发布时间: 20171017
....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
...aya.Input不能调出输入法,点击就报laya.wxmini.js第637行 _inputTarget.text can not read property 'text' of undefined,用别的设备测试都正常,只有我的华为Mate40pro会报错,后来发现是Laya.Input.focus里面的target没设置上,我修改了一下就正常了,不...
来源: Laya_社区 发布时间: 20220519
...ources。 核心代码: private onBtnClick(e:Laya.Event):void { switch(e.target) { case this.btn1: Laya.Scene.open("ui/p1/Page1.scene", false); break; case this.btn2: Laya.Scene.close("ui/p1/Page1.scene"); break; case this.btn3: Laya.Resource.destroyUnusedResources(); break; } }问题:特定操...
来源: Laya_社区 发布时间: 20190216
...reInfo culture) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.O...
来源: Laya_社区 发布时间: 20201212
...hrome出现错误: Error processing launch: Error Could not attach to main target 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 循环依赖不能运行 Circular dependency: ui list 里面的元素不能点击两次 LayaAir2D示例 Mac 2.0.0beta3 Chrome...
来源: Laya_社区 发布时间: 20201130
...hrome出现错误: Error processing launch: Error Could not attach to main target 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 问题状态 最...
来源: Laya_社区 发布时间: 20180323
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya2.0_api 发布时间: 20190513
... D/SupplicantHeartBeat: enter HeartAckState: msg = { when=-3ms what=999904 target=com.android.internal.util.StateMachine$SmHandler } 06-09 11:48:57.444 1040-1468/? D/SupplicantHeartBeat: processMsg: EnterSupplicantStarted 06-09 11:48:57.444 1040-1468/? D/SupplicantHeartBeat: processMsg: DefaultState...
来源: Laya_社区 发布时间: 20170609
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya3.0_api 发布时间: 20231115