• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,837 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)

2811. 图集制作与使用详解(ActionScript-IDE篇(AS3)-使用IDE创作) [ 32%]

...荐的图集加载方式。atlas方式加载图集的示例代码为: ```typescript //atlas方式图集使用示例 Laya.loader.load("./res/atlas/test.atlas", Handler.create(this, onLoaded)); ``` `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用...

来源: Laya2.0_文档 发布时间: 20210714

2812. 导入FBX报错 [ 32%]

...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

2813. LayaAir开发笔记(1)五十音图连连看 [ 31%]

...多说,理解不了请先去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

2814. vivo小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 31%]

... Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 La...

来源: Laya3.0_文档 发布时间: 20251010

2815. 树状列表组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 30%]

...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

2816. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 29%]

...使用matter.js库无智能提示 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? 请问2.0的版本开始,我用ts编写的相关内容,都要使用im...

来源: Laya_社区 发布时间: 20170418

2817. TS项目中怎么使用promise [ 29%]

...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

2818. 微信小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 29%]

... Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 La...

来源: Laya3.0_文档 发布时间: 20251010

2819. 动画状态机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 28%]

...} = 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

2820. 为什么支持tiled之作的地图呢? [ 27%]

..."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