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

大约有 1,557 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0056 秒)

1061. [LayaAirIDE3]3.2.7 在抖音小游戏开启了严格模式(ES6),Android性能明显下降了 [ 53%]

...在ES6为true的情况下保持 Android 高性能,要用对 ES6(利用 class、let/const、箭头函数、Map/Set 等能触发优化的特性),避免 async/await、解构、展开运算符等在低端机解释执行很重的语法,同时减少对象分配和 GC 压力。   2025-09-03 0 1 ...

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

1062. Laya的Handler里生成handler的key用的mid是基于对象的,但是method是基于原型链的。。。。(bug~~~~~~~~~~) [ 53%]

...19 20:44 浏览: 733 关注: 2 人 sleepfish • 2017-06-20 09:31 同一个class对象,生成两个实例,mid是挂在实例上的。只要对两个对象任意一个上的方法设置$_TID,另外一个也会有。因为方法是原型链上的公用的对象。两外一个对象的mid就没...

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

1063. image.drawToCanvas方法获取的一直是空的png [ 53%]

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

1064. laya.particle.ParticleSetting [ 53%]

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

1065. laya.d3.core.render.BaseRender_API3.0 [ 53%]

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

1066. laya.d3.component.Animator [ 53%]

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

1067. laya.d3.core.trail.TrailMaterial [ 53%]

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

1068. laya.d3.core.material.EffectMaterial [ 53%]

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

1069. ios苹果手机,同时播放声音出现巨大杂音 [ 53%]

...有问题。代码如下:附件是两个音频文件   export default class GameMain extends Laya.Scene {     constructor() {          super();          //设置单例的引用方式,方便其他引用         GameMain.instance = this;         /...

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

1070. import自己写的,new出来后为什么一片漆黑 [ 53%]

...文件夹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