大约有 2,837 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
Laya_社区(1676) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(83) Laya2.0_示例(16) Laya_示例(11)
...荐的图集加载方式。atlas方式加载图集的示例代码为: ```typescript //atlas方式图集使用示例 Laya.loader.load("./res/atlas/test.atlas", Handler.create(this, onLoaded)); ``` `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用...
来源: Laya2.0_文档 发布时间: 20210714
...h Skin count: 1 [2023-06-20 18:19:19.050] [resource_tool] [info] Mesh Skin type: eRigid [2023-06-20 18:19:19.050] [resource_tool] [info] mesh skinned mode: eTotalOne [2023-06-20 18:19:19.050] [resource_tool] [info] mesh skinned mode: eTotalOne [2023-06-20 18:19:19.050] [resource_tool] [info] Mesh in...
来源: Laya_社区 发布时间: 20230621
...多说,理解不了请先去w3school学些一般基础知识。<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>五十音图对对碰</title> </head> <body bgcolor="gainsboro"> </body> <script src="libs/laya.core.js"></scr...
来源: Laya_社区 发布时间: 20160623
... Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 La...
来源: Laya3.0_文档 发布时间: 20251010
...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Tree }) public tree: Laya.Tree; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //初始化树状列表的数据源 let treeData: string = "&l...
来源: Laya3.0_文档 发布时间: 20251010
...使用matter.js库无智能提示 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? 请问2.0的版本开始,我用ts编写的相关内容,都要使用im...
来源: Laya_社区 发布时间: 20170418
...e<T | TResult>; } interface PromiseConstructor { readonly prototype: Promise<any>; new <T>(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>; all<T1, T2, T3, T4, T5, T6, T7, T8, T...
来源: Laya_社区 发布时间: 20180604
... Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 La...
来源: Laya3.0_文档 发布时间: 20251010
...} = Laya; @regClass() export class Main extends Laya.Script { @property( { type: Laya.Label } ) private label: Laya.Label; @property( { type: Laya.Sprite3D } ) private target: Laya.Sprite3D; private animator : Laya.Animator; onStart() { this.label.on( Laya.Event.CLICK, this, this.test ); //获得状...
来源: Laya3.0_文档 发布时间: 20251010
..."layers":[ { "image":"Pictures\/timg2.jpg", "name":"jpgmap", "opacity":1, "type":"imagelayer", "visible":true, "x":0, "y":0 }, { "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
来源: Laya_社区 发布时间: 20170920