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

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

21. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 55%]

...       this.translate = new Laya.Vector3(0,0,0);     }     onStart(){         this.scene = this.owner.parent;         this.text = this.scene.parent.getChildByName("ceshi");         this.camera = this.scene.getChildByName("camera");     }     onUpdate(){...

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

22. 压缩纹理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 54%]

...0); img.skin = "resources/layabox.png"; //纹理压缩的图片的路径 } onStart() { Laya.Stat.show(0, 0); //性能面板 } } 发布后,使用的图片就是压缩后的图片了。 3.2 图集纹理压缩的加载 对于2D图集,预加载图集atlas文件即可,引擎在加载图集的时候...

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

23. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 51%]

...        this.first = true;         this.twoFirst = true; } onStart(){ this._scene = this.owner.parent as Laya.Scene3D;         this._text = this._scene.parent.getChildByName("ceshi") as Laya.Text;         this._camera = this._scene.getChildByName("camera") as Laya.Cam...

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

24. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 28%]

...nds Laya.Script { //粒子特效的路径 private filePath = "FireEffect"; onStart() { console.log("Game start"); //加载粒子特效资源 Laya.loader.load(this.filePath, Handler.create(this, () => { })); } //每次鼠标点下屏幕后,会创建一个特效 mouseDown(e: Event): void { var pa...

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

25. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 28%]

...nds Laya.Script { //粒子特效的路径 private filePath = "FireEffect"; onStart() { console.log("Game start"); //加载粒子特效资源 Laya.loader.load(this.filePath, Handler.create(this, () => { })); } //每次鼠标点下屏幕后,会创建一个特效 mouseDown(e: Event): void { var pa...

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

26. 动画状态机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 23%]

...ite3D } ) private target: Laya.Sprite3D; private animator : Laya.Animator; onStart() { this.label.on( Laya.Event.CLICK, this, this.test ); //获得状态机 this.animator = this.target.getComponent<Laya.Animator>(Laya.Animator); } //运行状态机的跑动画,可使用动作融合方式 tes...

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

27. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 14%]

...录的结构,或者进行必要的检查和安装等。 * @param task */ onStart?(task: IBuildTask): Promise<void>; /** * 正在收集需要发布的资源。assets集合是系统根据依赖、resources目录规则等所有有效的规则收集的所有需要发布的资源对象,你可...

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