大约有 2,995 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0073 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
...将const删掉。 因为const的存在,编译器认为你声明了 const class class是关键字。 2019-10-23 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 138*****275 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文...
来源: Laya_社区 发布时间: 20191023
...Globals "laya/d3/core/particleShuriKen/module/GradientColor" GradientColor Class GradientColor GradientColor 类用于创建渐变颜色。 Hierarchy GradientColor Implements IClone Index Constructors constructor Accessors constant constantMax constantMin gradient gradientMax gradientMin type Method...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames CacheMangerProperties | Methods Packagelaya.utilsClasspublic class CacheMangerInheritanceCacheManger Object 对象缓存统一管理类 Public Properties PropertyDefined By loopTimeLimit : int = 2[static] 单次清...
来源: laya_api 发布时间: 20170422
...库 2.2.0beta 新手小白 不明白为什么都是null 的export default class startScene extends Laya.Scene { private sp: Sprite; public constructor() { super(); console.log("startScene"); console.log(Laya.stage.name); console.log(Laya.stage.numChildren); console.log(this.numChildren); console.log...
来源: Laya_社区 发布时间: 20190904
...et_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameO...
来源: Laya_社区 发布时间: 20171109
API DocumentationAll Packages | All Classes | Index | Frames No Frames SkyBoxProperties | Methods | Constants Packagelaya.d3.resource.modelsClasspublic class SkyBoxInheritanceSkyBox Sky laya.resource.Resource Sky 类用于创建天空盒。 Public Properties Hide Inherited Public Propertie...
来源: laya_api 发布时间: 20170929
...LayaAirIDE让项目开发更高效。let apePath = "res/apes/monkey2.png"; class Filters_Glow { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.A...
来源: Laya2.0_示例 发布时间: 20251218
...Stat; import Rectangle = Laya.Rectangle; import WebGL = Laya.WebGL; export class PerformanceTest_Maggots { private texturePath:string = "../../res/tinyMaggot.png"; private padding:number = 100; private maggotAmount:number = 5000; private tick:number = 0; private maggots:Array = []; private wrapBound...
来源: Laya_示例 发布时间: 20251218
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_DisplayImage { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 2D场景不显示时打开 Laya.Config.isAntialias = true; // 2D场景显示错乱时打开 Laya.Config.useW...
来源: Laya2.0_示例 发布时间: 20251218
...s Only exported Menu Globals "laya/events/EventDispatcher" EventDispatcher Class EventDispatcher EventDispatcher 类是可调度事件的所有类的基类。 Hierarchy EventDispatcher Resource Node Transform3D SoundChannel Sound HttpRequest Loader AnimatorState AnimatorState2D Physics AnimationPlay...
来源: Laya3.0_api 发布时间: 20231115