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

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

1061. LayaAir的组件化开发(TypeScript-IDE篇(TS)-组件化开发相关) [ 53%]

...com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Component&class=laya.components.Script ### 三、Runtime与脚本的使用区别 LayaAir的组件化开发,核心就是Runtime与Script(脚本组件)的合理运用,生命周期方法的使用。 有不少开发者对IDE...

来源: Laya2.0_文档 发布时间: 20210715

1062. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 53%]

... { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List; //创建一个 List 的实例对象 list 。 private n:number = 0;...

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

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

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

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

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

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

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

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

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