大约有 1,005 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0084 秒)
Laya_社区(801) Laya3.0_api(65) Laya2.0_api(58) laya_api(53) Laya3.0_文档(19) Laya2.0_文档(7) Laya2.0_示例(1) Laya_示例(1)
...ItemFromPool外,还可以使用另一种回调的方式。首先为列表定义一个回调函数,例如: function renderListItem(index:number, obj:GButton) { obj.title = "" + index; } 如果使用了对象池,意回调函数可能为同一个对象重复调用,所以在回调函数里注册...
来源: Laya3.0_文档 发布时间: 20251128
...tomRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:92 是...
来源: Laya3.0_api 发布时间: 20231115
...进度条的制作(ActionScript 3.0) 解决跨域相关! 分享:自定义事件派发与侦听(A页面派发 B页面侦听) LayaBox IDE 支持多开吗 分享:打地鼠 AS、JS、TS版本 Demo! 分享:适配LayaAir版本的PureMVC框架 请问2.0的版本开始,我用ts编写的...
来源: Laya_社区 发布时间: 20201223
...入场景问题出现在哪呢?? (此问题已经无效) event自定义事件的问题 问题状态 最新活动: 2019-06-09 00:49 浏览: 1906 关注: 5 人 138*****161 • 2019-06-10 10:16 1212 138*****161 • 2019-06-10 10:16 简单分享一下分包的处理方式,目前以2.0JS为参...
来源: Laya_社区 发布时间: 20190608
...tomRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:92 是...
来源: Laya3.0_api 发布时间: 20231115
...Laya.stage.frameRate = Laya.Stage.FRAME_SLOW; //注册自定义按钮控件 Laya.View.regComponent("ScaleButton", ScaleButton); Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame)); } p...
来源: Laya_社区 发布时间: 20181208
...光组件的图层遮罩所影响的图层 材质(sharedMaterial) 设置自定义的2D着色器材质,不设置引擎会使用默认材质 线段数据(positions) 每一组数据代表2D节点上的一条线段,其中 X,Y 值为线段的起点,Z,W 值为线段的终点。开发者也可以在...
来源: Laya3.0_文档 发布时间: 20251010
...tomRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:92 是...
来源: Laya3.0_api 发布时间: 20231115
...横屏模式在锁定竖屏的iphone上不能正常显示的问题 event自定义事件的问题 关于Quaternion.rotationLookAt的问题 问题状态 最新活动: 2017-07-12 22:31 浏览: 1715 关注: 2 人 a4362928 • 2017-07-12 16:46 感谢,https://layaair.ldc.layabox.com/demo/?Sprite_Guide...
来源: Laya_社区 发布时间: 20170710
...tomRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:92 是...
来源: Laya3.0_api 发布时间: 20231115