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

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

1. IDE中定义组件后,组件XML设置prop,在代码中如何获取(js) [ 100%]

IDE中定义组件后,组件XML设置prop,在代码中如何获取(js) 引用:   >>“prop”: prop内是属性面板中属性的设置,每一个prop标记对应一个组件属性;   >>   <?xml version="1.0" encoding="utf-8" ?> >>   <uiComp> >...

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

2. layaAir定义组件设置默认参数无效 [ 93%]

layaAir定义组件设置默认参数无效 <?xml version="1.0" encoding="utf-8" ?> <uiComp> <ScaleButton className="laya.customUI.ScaleButton" inherit="Button" skinLabel="skin" defaultValue="label=''" icon="sbtn" resName="sbtn" group="公用,常用,宽高及位置" drag="3"> &...

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

3. 定义组件如何实现图片资源拖动获取路径 [ 91%]

定义组件如何实现图片资源拖动获取路径 定义的一个组件有一属性需要设置皮肤,怎么样才能实现跟Image的skin属性一样可以直接在资源栏中拖动图片资源到skin栏下便可以获取到资源路径   附件 : --> 2018-06-19 添加评论 免费...

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

4. Cannot read property 'props' of undefined [ 75%]

...ayanative2 打包android平台 报错 btCollisionObject undefined 鼠标定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Laya2.1.0 JS调用Java PlatformClass undefined 运行报错 Uncaught Can not find scene:GameView.sce...

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

5. 添加组件code里面定义脚本不显示 [ 73%]

添加组件code里面定义脚本不显示 我的GameScript是继承的Laya.Scirpt,现在神奇的问题就是,上面这一行注释,如果我删了, 这里就不会显示MainView的脚本组件,但是我把注释加回来,或是把继承改成Laya.Script,这里就会显示,这是...

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

6. Uncaught TypeError: Cannot read property 'props' of undefined [ 71%]

...y 'displayObject' of null Uncaught unknown animationClip version. 鼠标定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Laya2.1.0 JS调用Java PlatformC...

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

7. cannot read property '1'of null [ 68%]

...ned Uncaught TypeError: Cannot read property 'props' of undefined 鼠标定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 laya2.6.0打apk和小游戏都会报_InPool为null Cannot read property 'displayObject' of null aler...

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

8. TypeError: Cannot read property 'getSubShaderAt' of undefined [ 65%]

...eError: Cannot read property 'getSubShaderAt' of undefined laya2.0以上定义的shader会出这个问题。laya2.4   2.5  2.6beta版本都试过了。 项目是1.8版本提升到2.5.0版本的,逻辑上都没问题。但是shader会报这个错。替换官方内置的shader正常,我又...

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

9. Request failed Status:404 text:undefined [ 64%]

... unity导出的场景在手机上提示"request:fail invalid url" 鼠标定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Cannot read property 'props' of undefined text组件在native2.0上运行会报...

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

10. 定义UI导致编辑器无显示 [ 63%]

定义UI导致编辑器无显示 想定义UI,但官网的例子只有as的,,我用js写完放到如下路径 但是重启编辑器后是这样 删掉添加的customUI后重启编辑器就正常,应该是添加的文件不对。 附件里是添加的文件,不知道哪里不对。 ...

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