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

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

491. 苹果iOS审核被拒Guideline 4.3 - Design [ 67%]

...am. - Once your app is fully compliant, resubmit your app for review. When creating multiple apps where content is the only varying element, you should offer a single app to deliver differing content to customers. If you would like to offer this content for purchase, it would be appropriate to use t...

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

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

...tor.panel("Test") export class MyPanel extends IEditor.EditorPanel { async create() { this._panel = await gui.UIPackage.createWidget("editorResources/UI/MyWidget.widget"); let input: gui.TextInput = this._panel.getChild("TextInput").getChild("title"); input.on("changed", () => { console.log("改...

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

493. BlinnPhong材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 67%]

...图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置材质纹理 material.albedoTexture = texture; })); earth2.meshRenderer.material = material; ``` ![](img/4.png)(图4) ##### 法线贴图 **Normal maps(法线贴图)**是一个灰度图...

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

494. 事件管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 67%]

...回收后会被再利用,默认为false 处理器的方法包括: 1,create() 从对象池内创建一个Handler Laya.Handler 事件处理器,推荐使用Laya.Handler.create()方法从对象池创建,以减少对象创建消耗。当创建的Handler对象不再使用后,可使用Laya.Hand...

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

495. 如何在游戏入口处获取对象的子对象 [ 67%]

...ew TiledMap(); } _proto.showMap = function(num) { this.num = num; this.map.createMap("map/level/mota_map" + num + ".json",new Rectangle(0,0,448,448),Handler.create(this,this.mapLoaded));} _proto.mapLoaded = function(){ this.pass = this.map.getLayerByIndex(0);//获取通行层 console.log(this.pass);...

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

496. 动画-图集动画 [ 67%]

...Laya.stage.bgColor = "#232628"; Laya.loader.load(aniConfPath, Laya.Handler.create(this, this.createAnimation), null, Laya.Loader.ATLAS); } createAnimation() { const Animation = Laya.Animation; let ani = new Animation(); Laya.stage.addChild(ani); ani.loadAtlas(aniConfPath); // 加载图集动画 ani....

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

497. 关于多个小动画打包到一个图集动画的问题 [ 66%]

...动画图片序列帧放在同一个图集里面。然后通过Animation.createFrames缓存不同的动画再播放不同的动画。 那么使用LayaAir引擎是否也能做到这一点。先通过用IDE把多个小动画放到一个图集里,然后再实现播放不同的动画。 在线等,...

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

498. 动画-图集动画 [ 66%]

...ll"; Laya.stage.bgColor = "#232628"; Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); })(); function createAnimation() { var ani = new Animation(); ani.loadAtlas(AniConfPath); // 加载图集动画 ani.interval = 30; // 设置播放间隔(单位:毫秒)...

来源: Laya_示例 发布时间: 20251209

499. unity里导出的骨骼动画无法读取 [ 66%]

...的参数,你看下有没有错误   读取代码:    Laya.loader.create("res/1.lh",Handler.create(this,onModelOK),null,Sprite3D); private function onModelOK():void         {              //添加3D场景              var scene:Scene = new Scene();       ...

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

500. Laya.SoundManager.playSound 无法播放出音效 [ 66%]

...load([{url:"sfx/hit01.mp3",type:Laya.Loader.SOUND}],Laya.Handler.create(this,this.onSfxLoad)); 但是提示[warn]Retry to load: sfx/hit01.mp3 [error]Failed to load: sfx/hit01.mp3 资源文件是存在的 w1114367261 • 2018-04-23 11:30 1,直接playSound的话laya会先查找你是否加...

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