大约有 3,183 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0149 秒)
Laya_社区(2837) Laya2.0_文档(111) Laya2.0_api(85) Laya3.0_api(61) laya_api(52) Laya3.0_文档(34) Laya_示例(2) Laya2.0_示例(1)
...索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听...
来源: Laya2.0_api 发布时间: 20190513
...动黑色小牛也可能会触发onTriggerEnter的回调.Laya 2.5版本是没有这个问题的.(试过更新到 2.6.1好像也会有这个问题) 源码如下import { ui } from "./../ui/layaMaxUI"; import Util3d from "./Util3d"; import CollisionListener from "./CollisionListener"; /** * 本示...
来源: Laya_社区 发布时间: 20200720
...样的。 2018-01-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 你说的apk无法开启webgl是什么意思? LayaNative底层是基于OpenGL写的,打包之后就是用...
来源: Laya_社区 发布时间: 20180106
...start.png 2018-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 是不是用户访问权限问题? 2018-05-31 0 10 分享 微博 QZONE 微信 。。。 赞同来自: 你好,我也...
来源: Laya_社区 发布时间: 20180531
...获取这个公告的html并赋值给HTMLDivElement进行展示 在laya1.0没有问题,在laya2.0就有问题: 1.<br />标签不能在<p>或者<span>里使用,但可以在<div>里使用,例子demo看附件 2.还有<p>的宽度展示有异常(用div包裹p就...
来源: Laya_社区 发布时间: 20190815
...遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY :...
来源: Laya2.0_api 发布时间: 20190513
...遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Panel centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : ...
来源: Laya2.0_api 发布时间: 20190513
...成功后,在服务器替换image.atlas和images.png重新打开小游戏没有重新加载服务器的png,只重新加载了atlas var resArray = [ //{ url: "https://piggy.com/res/atlas/images.atlas", type : Laya.Loader./png}, { url: "https://piggy.com/res/atlas/images.atlas", type: Laya.Loader....
来源: Laya_社区 发布时间: 20180613
...遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY :...
来源: Laya2.0_api 发布时间: 20190513
...遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY :...
来源: Laya2.0_api 发布时间: 20190513