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

大约有 190 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0039 秒)

51. 使用laya的unity插件2.4.0导出预设总是报错。2.3.0是没问题的 [ 73%]

...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_社区 发布时间: 20200221

52. a、b 两个按钮响应同一个点击回调,但event的 target和currentTarget相同都是stage对象,怎么解释呀 [ 73%]

a、b 两个按钮响应同一个点击回调,但event的 target和currentTarget相同都是stage对象,怎么解释呀 实际代码中,两个按钮通过currenttarget,确实能够区分开来,但是打印的值,currenttarget和target值都是stage对象,这个问题谁能给解释下...

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

53. 鼠标 MOUSE_DOWN Event 回来的信息不符合 [ 72%]

...nStartDragPicture e', e); } 返回的信息: Event _stoped: false currentTarget: Stage {focus: null, designWidth: 1307, designHeight: 758, canvasRotation: false, canvasDegree: 0, …} nativeEvent: MouseEvent {isTrusted: true, screenX: 906, screenY: 460, clientX: 457, clientY: 278, …} target: Sta...

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

54. 新手!谁懂得把下面两个文件转成layaair可以运行的代码 [ 72%]

...r params:URLVariables = new URLVariables();         params.decode( evt.target.data );           execute( params );     }       private var execute:Function; }   iLoader.as   package {     import com.legend.loader.BasicLoader;     import com.legend.loader.SWFLoader;       impor...

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

55. 手机调试时http请求错误,返回Request failed Status:0 [ 72%]

...hrome出现错误: Error processing launch: Error Could not attach to main target IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 TypeScript下HttpRequest发送Post...

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

56. Animation 播放完成回调有参数吗 [ 72%]

...Event.COMPLETE, this, bfwc); function bfwc(e){         console.log(e.target.name); }    是错误的 2017-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自: 不是直...

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

57. LayaAir开发笔记(1)五十音图连连看 [ 72%]

...atue == true) { if ((card_A == -1) && (card_B == -1)) { card_A = e.target.name; button[card_A].color = "red"; } else if ((card_A != -1) && (card_B == -1)) { card_B = e.target.name; if ((g_list_A.indexOf(button[card_A].text) != -1) && (g_list_A.indexOf(button[card_A].text) == ...

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

58. unity 带出报错~ArgumentException: Invalid path [ 71%]

...reInfo culture) (at <599589bf4ce248909b8a14cbe4a2034e>: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_社区 发布时间: 20190910

59. Laya下的图片上传示例(完整版) [ 71%]

...ya.Browser.window.FileReader.DONE == fileReader.readyState) { var data = e.target.result; img.onload = function(){ var width = img.width; var height = img.height; if(width<100&&height<100){ var bgImg = new Laya.Sprite(); bgImg.loadImage(data); Laya.stage.addChild(bgImg) }else{ console....

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

60. 发布web,选择压缩混肴js后,运行报错,正常编译后可以运行项目 [ 71%]

...hrome出现错误: Error processing launch: Error Could not attach to main target Laya中的宏编译要怎么用啊 iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 循环依赖不能运行 Circular dependency: unity中的模型导出后在laya中显示不...

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