大约有 508 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0482 秒)
Laya_社区(235) Laya3.0_api(92) Laya2.0_api(65) laya_api(54) Laya2.0_文档(45) Laya3.0_文档(16) Laya_示例(1)
...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
...herited from AnimationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此...
来源: Laya3.0_api 发布时间: 20231102
...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
... 2. Textinput代码创建 有时,不想让Textinput组件一开始就在舞台上,而是在要用的时候才添加,这就要通过代码来创建了。在Scene2D的属性设置面板中,增加一个自定义组件脚本,示例代码如下: const { regClass, property } = Laya; @regClass(...
来源: Laya3.0_文档 发布时间: 20251010
...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
...即可 Node onDisable():void 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Node onEnable():void 组件被启用后执行,比如节点被添加到舞台后 此方法为虚方法,使用时重写覆盖即可 Node removeChild(node...
来源: Laya2.0_api 发布时间: 20190513
...8-08-20 14:10 我在子域的工程里,Laya.stage.addChild(image); 但是舞台上没有,trace image 确实是取到资源了,请问为什么没渲染出来呢。 凌风 • 2018-08-29 13:49 rankSprite2是哪里来的 会饶舌的ad钙奶 • 2019-04-18 18:08 @凌风:var rankSprite2:sprite =ne...
来源: Laya_社区 发布时间: 20180310
... 找不到类的定义!这是为什么? 已上传 Demo 附件 加载到舞台的3D模型不显示贴图 循环依赖不能运行 Circular dependency: 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打...
来源: Laya_社区 发布时间: 20190531