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

大约有 4 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0022 秒)

1. box2d引擎报错问题 [ 100%]

...): void { if (other.label === "cloud") { Laya.Tween.clearAll(this._sp) let effect: Laya.Animation = Laya.Pool.getItemByCreateFun("deathEffect", this.createEffect, this); effect.pos(this._sp.x, this._sp.y); this._sp.parent.addChild(effect); effect.play(0, false); this.owner.removeSelf(); Laya.Pool.re...

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

2. HIERARCHY_LOADED函数不回调 [ 94%]

... this.lz = this.sceneP.addChild(Laya.Sprite3D.load("res/h5/LayaScene_Effect/Effect.lh")) as Laya.Sprite3D; this.lz.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); }); 这么写还是不能回调?

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

3. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 94%]

...建2、Dialog属性介绍2.1 Drag Area属性2.2 Is Modal属性2.3 Is Show Effect 属性2.4 Is Popup Center属性3、代码创建Dialog组件Dialog组件参考 Dialog继承于View,主要用于弹窗面板, 1、Dialog组件创建 Dialog组件可以通过IDE的可视化操作直接进行创建,...

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

4. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 14%]

...定义显示对象基类  /** 地图基础元素      * 实现 entity,effect,...等元素在地图上显示逻辑     */     export class MapUnit extends Laya.Sprite implements lamborghini.map.IMapUnit {         /**相对于地图的坐标*/         protected mRelative: Laya.Point; ...

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