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

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

31. Laya场景编辑时加入的Graphics组件,代码中该如何获取? [ 88%]

...代码中该如何获取? UI编辑模式下加入了一个Graphics->Rect组件,如何在代码中获取这个Rect组件,以便进行下一步的变换?   如果是个Button的话,可以通过类似的代码来声明、获取: private backBtn: Laya.Button; this.backBtn = this.scene.ge...

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

32. 同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count(带悬赏的每次都创建订单失败,之后在社区里面看不到) [ 87%]

同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count(带悬赏的每次都创建订单失败,之后在社区里面看不到) 顶点数超过65535 / 4会抛出错误这个知道,有没有办法绕开这个报错 尝试过draw 10000个点的时候...

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

33. laya.maths.Rectangle_API3.0 [ 86%]

...c/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Rectangle" Rectangle Class Rectangle Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个...

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

34. unity 带出报错~ArgumentException: Invalid path [ 85%]

...xception: Invalid path ArgumentException: Invalid path System.IO.Path.GetDirectoryName (System.String path) (at <599589bf4ce248909b8a14cbe4a2034e>:0) LayaExport.DataManager.saveLightMapFile (JSONObject customProps) (at <460acbcca8964c0cac25035c85643194>:0) LayaExport.DataManager.getScene...

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

35. 点击区域问题 [ 84%]

... 10);         btn_bottom[i].scale(scaleMin, scaleMin);         var rect = new Laya.Rectangle(btnWidth * i + space * (i + 1), Browser.clientHeight - btnHeight - 10, btnWidth, btnHeight);         console.log("rect"+i+":"+rect); //        btn_bottom[i].hitArea = rect;          btn_...

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

36. unity 通过laya 导出 灵异事件 [ 84%]

...Editor/Mono/HostView.cs:329) UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:305) UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean floatingWindow,...

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

37. unity插件报错 [ 83%]

...Editor/Mono/HostView.cs:336) UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at D:/unity/Editor/Mono/HostView.cs:310) UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean customBorder, System.Boolean flo...

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

38. bitmap渲染问题 [ 82%]

...博 QZONE 微信 tangdelphi 赞同来自: copyPixels 问题,第二个参数Rectangle要先copy,js引用,同时在一些情况下会修改Rectangle值,你们是不是要说明下,这么大区别 2015-11-06 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...

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

39. unity 新建场景,预览报错。 [ 82%]

...Editor/Mono/HostView.cs:336) UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at D:/unity/Editor/Mono/HostView.cs:310) UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean customBorder, System.Boolean flo...

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

40. LayaFlash getQualifiedClassName和组件定义问题 [ 82%]

...Name和组件定义问题 1.flash.utils.getQualifiedClassName; 现有一个rect_mc, flash库的中链接类名为:Rect, 尝试.getQualifiedClassName(rect_mc)得到的是"iflash.display::MovieClip"而不是"Rect".虽说不支持链接类,但是很多时候写这个类名只作为一种类型的区分...

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