大约有 9,547 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0295 秒)
Laya_社区(8708) Laya2.0_文档(339) Laya3.0_api(162) Laya3.0_文档(140) Laya2.0_api(117) laya_api(73) Laya2.0_示例(6) Laya_示例(2)
...Base64("image/png",0.92,function(base64){//webgl和canvas模式下为同步方法,加速器下是异步方法 * trace(base64);//打印图片base64信息,可以发给服务器或者保存为图片 * ...
来源: Laya_社区 发布时间: 20180719
...件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): void Inherite...
来源: Laya3.0_api 发布时间: 20231115
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默认回调参数为滑块位置属性 value属性值:Number 。 hitTes...
来源: Laya3.0_api 发布时间: 20231115
...件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): void Inherite...
来源: Laya3.0_api 发布时间: 20231115
...18-10-26 0 1 分享 微博 QZONE 微信 177*****949 赞同来自: 你这个方法有个问题 : 当a类和b类 都使用一个命名空间(模块名称)时 , 其实也是非常的麻烦的 . 不知道对于这一点 , 你是如何处理的 ? 2018-10-26 0 3 分享 微博 QZONE 微信 jweilan 赞同...
来源: Laya_社区 发布时间: 20180926
...件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): void Inherite...
来源: Laya3.0_api 发布时间: 20231102
...问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 缓动Tween能用在3D物体或者特效上面吗? TypeScript下HttpRequest发送Post请求有Bug? 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 在线急等,发...
来源: Laya_社区 发布时间: 20180118
...件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.txtarea.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txtarea.size(500, 200); //大小 this.txtarea.pivot(this.txtarea.width/2, this.txtarea.heig...
来源: Laya3.0_文档 发布时间: 20251010
...到类的定义!这是为什么? 已上传 Demo 附件 请问有没有方法能够获取“鼠标是否处于按下状态”? 关于微信7.0.3版本之后的版本,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 关于近期iOS提交,因违反苹果3.1.1导致APP上...
来源: Laya_社区 发布时间: 20170613
...行报错 TypeError: Error #1009: 无法访问空对象引用的属性或方法。 at laya.webgl.resource::WebGLImage() at MethodInfo-3289() at laya.webgl.atlas::AtlasWebGLCanvas/texSubImage2D() at laya.webgl.atlas::Atlaser/addToAtlasTexture() at laya.webgl.atlas::AtlasResourceManager/pushData() at ...
来源: Laya_社区 发布时间: 20200217