大约有 450 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0109 秒)
Laya3.0_api(223) Laya_社区(109) Laya3.0_文档(41) Laya2.0_文档(28) Laya2.0_api(25) laya_api(22) Laya_示例(1) Laya2.0_示例(1)
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...dier = prefab.create() as Laya.Box; // 为了代码提示,转成实际的类型 soldier["show"].play(); 在TS下面soldier如果不是any的话,直接使用soldier.show会编译报错。 可以强制转换一下 (<any>soldier).show.play(); 值得注意的地方:动画名称最好不...
来源: Laya_社区 发布时间: 20190215
...esourceVersion.ts:13 基于文件名映射管理方式(新版本IDE默认类型) Static FOLDER_VERSION FOLDER_VERSION: number = 1 Defined in laya/net/ResourceVersion.ts:11 基于文件夹的资源管理方式(老版本IDE默认类型) Static manifest manifest: any Defined in laya/net/Resourc...
来源: Laya3.0_api 发布时间: 20231102
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115