大约有 2,097 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
Laya_社区(1452) Laya3.0_api(226) laya_api(108) Laya2.0_api(104) Laya3.0_文档(103) Laya2.0_文档(100) Laya2.0_示例(2) Laya_示例(2)
...体颜色,字号,苦逼的UI制作者就需要把所有界面都修改一次,这样会非常麻烦。**针对这种情况,使用默认属性设置或者预设就能轻松应付,只修改一个地方,就能影响全局。** 2.不同的界面,局部会有相同的模块,并且逻辑代...
来源: Laya2.0_文档 发布时间: 20210715
...onent.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Component....
来源: Laya3.0_api 发布时间: 20231115
...我试过了,我重复加载这样子还是不行的。就是你重复来一次load,就会发现资源是无效的。除非你自己在内存中缓存个资源对象。但是这样子导致无法清理资源内存,也麻烦。 189*****909 • 2020-06-15 17:49 @熊猫大侠:我试过了,我...
来源: Laya_社区 发布时间: 20200609
...点,数量为1 var touch = this._scene.input.getTouch(0); //是否为新一次触碰,并未发生移动 if (this.first){ //获取触碰点的位置 this.lastPosition.x = this.touch.position.x; this.lastPosition.y = this.touch.position.y; first = false; } else{ //移动触碰点 var deltaY = this...
来源: Laya2.0_文档 发布时间: 20210715
...点,数量为1 var touch = this._scene.input.getTouch(0); //是否为新一次触碰,并未发生移动 if (this.first){ //获取触碰点的位置 this.lastPosition.x = this.touch.position.x; this.lastPosition.y = this.touch.position.y; first = false; } else{ //移动触碰点 var deltaY = this...
来源: Laya2.0_文档 发布时间: 20210715
...onent.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 cullingMode cullingMode: number = Animator.CULLINGMODE_CULLCOMPLETELY Defined in laya/d3/component/Animator.ts:95 裁剪模式 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24...
来源: Laya3.0_api 发布时间: 20231102
...onent.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点...
来源: Laya3.0_api 发布时间: 20231115
... 4、出现的时候比较诡异,有的时候上来刚第一次旋转就会出现,有的时候要转不少次才会出现,当应用重启以后,无法看到日志报错,所以困扰很久,无法定位,感觉像是旋转屏幕横竖屏切换报的错导致; ...
来源: Laya_社区 发布时间: 20230712
...。 Liu_1986 • 2024-04-23 17:46 您说的这方法。我也试过了,一次性添加所有的monstor,再一次性回收所有的monstor,sprite的确是没有出现增加的情况,但我的游戏逻辑是子弹碰到怪物后回收怪物,怪物也都从stage中移除了,添加多少怪...
来源: Laya_社区 发布时间: 20240418
...-12 00:04 浏览: 4491 关注: 4 人 Laya_Aaron • 2018-06-04 18:06 发布一次就可以是为了合并 zmd • 2018-06-04 18:09 那这里的教程,是不是有误导人的,现在要看修改后微信web开发工具中的效果,就是一定要在编译完成之后,在发布一次。那这...
来源: Laya_社区 发布时间: 20180604