大约有 1,557 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0056 秒)
Laya_社区(551) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(69) Laya2.0_示例(2)
...在ES6为true的情况下保持 Android 高性能,要用对 ES6(利用 class、let/const、箭头函数、Map/Set 等能触发优化的特性),避免 async/await、解构、展开运算符等在低端机解释执行很重的语法,同时减少对象分配和 GC 压力。 2025-09-03 0 1 ...
来源: Laya_社区 发布时间: 20250903
...19 20:44 浏览: 733 关注: 2 人 sleepfish • 2017-06-20 09:31 同一个class对象,生成两个实例,mid是挂在实例上的。只要对两个对象任意一个上的方法设置$_TID,另外一个也会有。因为方法是原型链上的公用的对象。两外一个对象的mid就没...
来源: Laya_社区 发布时间: 20170619
... laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class LayaAirDemo { private var img:Image; public function LayaAirDemo() { Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL...
来源: Laya_社区 发布时间: 20170704
API DocumentationAll Packages | All Classes | Index | Frames No Frames ParticleSettingProperties | Methods Packagelaya.particleClasspublic class ParticleSettingInheritanceParticleSetting Object ParticleSettings 类是粒子配置数据类 Public Properties PropertyDefined By ageAddScale...
来源: laya_api 发布时间: 20170929
...als Only exported Menu Globals "laya/d3/core/render/BaseRender" BaseRender Class BaseRender Render 类用于渲染器的父类,抽象类不允许实例。 Hierarchy Component BaseRender PixelLineRenderer MeshRenderer BatchRender ShurikenParticleRenderer TrailRenderer UI3D HLODRender StaticBatchMes...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimatorProperties | Methods | Constants Packagelaya.d3.componentClasspublic class AnimatorInheritanceAnimator Component Object Animator 类用于创建动画组件。 Public Properties Hide Inherited Public Properties ...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames TrailMaterialProperties | Methods | Constants Packagelaya.d3.core.trailClasspublic class TrailMaterialInheritanceTrailMaterial BaseMaterial laya.resource.Resource TrailMaterial 类用于实现拖尾材质。 Public Prop...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames EffectMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class EffectMaterialInheritanceEffectMaterial BaseMaterial laya.resource.Resource EffectMaterial 类用于实现Mesh特效材质。 ...
来源: Laya2.0_api 发布时间: 20190513
...有问题。代码如下:附件是两个音频文件 export default class GameMain extends Laya.Scene { constructor() { super(); //设置单例的引用方式,方便其他类引用 GameMain.instance = this; /...
来源: Laya_社区 发布时间: 20200925
...文件夹npc,并且创建一个类。代码如下:module npc { export class BaseNPC extends Laya.Sprite { constructor() { super(); this.graphics.drawCircle(0, 0, 10, "#ff0000"); } } } 然后在我的主文件中import,并new出来。代码如下:import BaseNPC = npc.BaseNPC; var npcc:Base...
来源: Laya_社区 发布时间: 20180205