大约有 721 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0066 秒)
Laya_社区(644) Laya2.0_api(19) laya_api(18) Laya2.0_文档(16) Laya3.0_文档(14) Laya3.0_api(9) Laya_示例(1)
...与内容相关的链接 提交 4 个回复 qian 赞同来自: https://ask.layabox.com/question/4286 2018-03-08 0 1 分享 微博 QZONE 微信 fengjingmeng - Tink 赞同来自: 我新写了个例子,发现个新问题 import Sprite = Laya.Sprite; class Test extends Sprite{ constructor(){ super(); ...
来源: Laya_社区 发布时间: 20180308
...的API却是更多。 先从代码行数来初步判断:新版本的LayaAir.d.ts ,API导出行数:37464行。 旧版本的LayaAir.d.ts ,API导出行数:53714行。 通过小学一年级的数学减法运算:53714-37464=16250行 也就是说新版比旧版的API少了 (16250/53...
来源: Laya_社区 发布时间: 20190801
...on ): void; restartCurrentScene(): void; } } //多级模块 declare module laya.ani.bone { class EventData { name:string; intValue:number; floatValue:number; stringValue:string; audioValue:string; time:number; constructor(); } } //LayaAir多级模块的写法,在使用引擎进行实际开发过...
来源: Laya2.0_文档 发布时间: 20210715
...器的帮助文档操作,不能正确的创建动画? 刚开始接触layabox,正在学习layabox的帮助文档 http://ldc.layabox.com/index.p ... 3D166 5.在时间轴面板里,勾选“动画编辑模式”选项,显示时间轴动画编辑功能区。默认会创建一个名为 ani1 的...
来源: Laya_社区 发布时间: 20161031
...件装饰器标识的详细说明 Author: Charley、谷主、孟星煜 在 LayaAir 引擎采用的 ECS(实体 - 组件 - 系统)架构中,组件是承载数据的核心单元。每个组件专注于存储实体某一方面的属性和状态,例如角色的位置、速度、生命值等。这...
来源: Laya3.0_文档 发布时间: 20251010
...es No Frames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使...
来源: laya_api 发布时间: 20170929
...lasses | Index | Frames No Frames BrowserProperties | Methods Packagelaya.utilsClasspublic class BrowserInheritanceBrowser Object Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Public Properties PropertyDefined By canvas : HTMLCanvas[static] 全局画...
来源: laya_api 发布时间: 20170929
...lasses | Index | Frames No Frames BrowserProperties | Methods Packagelaya.utilsClasspublic class BrowserInheritanceBrowser Object Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Public Properties PropertyDefined By canvas : HTMLCanvas[static] 全局离...
来源: Laya2.0_api 发布时间: 20190513
...ex | Frames No Frames UIComponentProperties | Methods | Events Packagelaya.uiClasspublic class UIComponentInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager, WXOpenDataViewer Comp...
来源: Laya2.0_api 发布时间: 20190513
...import * as protobuf from "./libs/protobuf/protobuf"; const { regClass } = Laya; @regClass() export class ProtobufDemo extends Laya.Script { onEnable() { console.log("Game start"); } } 2.2 Protobuf示例脚本 引入了protobuf模块就可以直接在项目中使用了,这里我们写了一个简...
来源: Laya3.0_文档 发布时间: 20251010