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

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

701. 出现 编译错误 [ 74%]

...将const删掉。 因为const的存在,编译器认为你声明了 const class class是关键字。 2019-10-23 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 138*****275 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文...

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

702. laya.d3.core.particleshuriken.module.GradientColor_API3.0 [ 74%]

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

703. laya.utils.CacheManger [ 74%]

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

704. 获取不到父物体 节点 [ 74%]

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

705. unity 导出问题 animator出错 [ 74%]

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

706. laya.d3.resource.models.SkyBox [ 74%]

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

707. 滤镜-发光滤镜 [ 74%]

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

708. 性能测试-虫子(慎入) [ 74%]

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

709. Sprite-显示图片 [ 74%]

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

710. laya.events.EventDispatcher_API3.0 [ 74%]

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