大约有 275 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0055 秒)
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...Handler(this, updateItem); //为列表赋值 list.array = data; //加载到舞台 Laya.stage.addChild(list); } /***渲染单元格时的回调方法***/ private function updateItem(cell:Item, index:int):void { //用获得的数据给图片更换皮肤 cell.img.skin=cell.dataSource; } /***选择单...
来源: Laya2.0_文档 发布时间: 20210715
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...oadImage(url,0,0,100,100); } ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上,可以用手机扫下,发现手机已经跳转到了官网。**注意:这个时候生成的二维码在微信或者浏览器中长按没有任何反应,因为q...
来源: Laya2.0_文档 发布时间: 20210714
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115
...,0,0,100,100); } } new Main; ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上,可以用手机扫下,发现手机已经跳转到了官网。**注意:这个时候生成的二维码在微信或者浏览器中长按没有任何反应,因为q...
来源: Laya2.0_文档 发布时间: 20210715
...(url,0,0,100,100); } } } ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上,可以用手机扫描下,发现手机已经跳转到了官网。**注意:这个时候生成的二维码在微信或者浏览器中长安没任何反应,因为q...
来源: Laya2.0_文档 发布时间: 20210715