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

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

1. 新人求教!!! [ 100%]

...通过回调方法绘制图片并添加到舞台      Laya.loader.load([this.monkey1,this.monkey2],Laya.Handler.create(this,this.graphicsImg)); } private graphicsImg():void{    //创建一个实例    this.img = new Laya.Sprite();    //添加到舞台    Laya.stage.addChild(this.img);   ...

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

2. UI-RefreshList [ 92%]

...ya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.loadingLabel = null; this.refreshList = null; /** 消息生成的当前最大id值 */ this.msgIdNow=1; /** 滚动条效果是否停止 */ this.scro...

来源: Laya2.0_示例 发布时间: 20251130

3. 基础使用与构成 · LayaAir3.3 · 引擎文档 · LAYABOX [ 84%]

...类设备上的一致性与可用性。 代码中的使用示例如下: this.xx.left = 0; this.xx.right = 0; this.xx.top = 0; this.xx.bottom = 0; this.xx.CenterX = 0; this.xx.CenterY = 0; 3.2 数据源dataSource 在实际开发中,从网络获取的数据有时候与 UI 组件预期的数据结...

来源: Laya3.0_文档 发布时间: 20251010

4. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

...* 此方法为虚方法,使用时重写覆盖即可 */ onAwake(): void { this.curpos = new Laya.Vector3(); } /** * 第一次执行update之前执行,只会执行一次 * 此方法为虚方法,使用时重写覆盖即可 */ onStart(): void { this.camera = this.owner as Laya.Camera; if (this.tar...

来源: Laya3.0_文档 发布时间: 20251010

5. Cannot read property 'load' of null [ 68%]

...tatic s_instance = null; public static getInstance():MapManager { if(null==this.s_instance) { this.s_instance=new MapManager(); this.s_instance.init(); } return this.s_instance; } private init() { } private skins: Array<string>; private mapImg:Laya.Image; private constructor() { } public GetMa...

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

6. Chrome104.0.51112.102版本LayaBox2.13.0启动报错 [ 67%]

...2 @Laya_Yan:改完以后换了个地方报错。throw gl.getProgramInfoLog(this._program); laya.core.js 3565行

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

7. 如何使用vscode编译laya项目 [ 42%]

...reTest/.laya/compile.js compile Debugger listening on port 48982. Warning: This is an experimental feature and could change at any time. laya_ide_time.require.single.gulp-util: 7.87ms gulp.js:8 laya_ide_time.require.single.pretty-hrtime: 2.2ms gulp.js:8 laya_ide_time.require.single.chalk: 10.4ms gul...

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

8. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 40%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from PixelLineSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:296 克隆。 Returns Node 克隆副本。 contains contains(no...

来源: Laya3.0_api 发布时间: 20231102

9. laya.d3.core.MeshSprite3D_API3.0 [ 36%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(n...

来源: Laya3.0_api 发布时间: 20231115

10. laya.d3.core.trail.TrailSprite3D_API3.0 [ 36%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(n...

来源: Laya3.0_api 发布时间: 20231115