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

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

311. laya.ui.OpenDataContextView_API3.0 [ 62%]

...ContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRen...

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

312. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

... 不要主动加载Spine的atlas和png 当开发者在代码加载或IDE的Scene2D中预加载了Spine的atlas之后,运行的时候会出现类似以下提示的警告。 Failed to load 'http://localhost:18094/resources/ddlx_02/ddlx_02.atlas' Unexpected token 'd', "ddlx_02.pn"... is not valid JSO...

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

313. [LayaAir3]3.3.0-beta.4已知新bug汇总 [ 61%]

...beta4的先列出(目前只说遇到的, 后续发现再持续记录) 1. Scene.open 我们使用这个打开常见会传递参数, beta4中, 没有将params传递到onOpened响应函数中 下面是临时补救的shim if (Laya.LayaEnv.version == "3.3.0-beta.4") { Scene.open = function (url: strin...

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

314. 2D图片在3D场景中定位问题 [ 61%]

...? laya针对页游耗用内存大的问题是如何解决的? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 救命!canvas定位后 点击区域偏移,求大大们解答...

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

315. FRAME_SLOW及FRAME_MOUSE模式下切换场景有时会导致渲染崩溃 [ 61%]

...t TypeError: Cannot read property 'btCollisionObject' of undefined laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 从unity导出的场景透贴和模型烘焙的灯光不显示...

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

316. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...的Label组件命名相同。 1.2.5 运行查看效果 将脚本挂载到Scene2D场景上,然后将List组件拖入到脚本暴露出来的属性即可,如图1-6所示。 (图1-6) 运行效果如下: (动图1-7) 1.2.6 设置List效果 还可以在1.2.4中的代码里添加代码,设...

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

317. 如何在layaair 上使用get方法的xml ,获得节点属性? [ 61%]

...候,Property 'getComponentByType' does not exist on type 'Node'. laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 1.7.20beta有bug,帧属性面板打不开 问题...

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

318. laya.ui.Panel_API3.0 [ 61%]

...y Box Panel Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components c...

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

319. laya.ui.UIComponent_API3.0 [ 61%]

...ContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRen...

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

320. 单选框组容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...1时,效果如图1-6所示。 (图1-6) 1.3 脚本控制RadioGroup 在Scene2D的属性设置面板中,增加一个自定义组件脚本。然后,将RadioGroup拖入到其暴露的属性入口中。需要添加如下的示例代码,实现脚本控制RadioGroup: const { regClass, property...

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