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

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

2581. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 40%]

...时序问题,我们需要在此处添加逻辑代码,确保_owner不为null if(_isScal&&_owner) { _owner.on(Event.MOUSE_DOWN,this,onDown); } else { return; } } public function get isScale():Boolean { return _isScal; } public function set isScale(isScal:Boolean):void { this._isScal=isScal...

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

2582. rigidBody.applyForce 对刚体应用力,物体没有移动 [ 39%]

...aya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(null, function (tex) {             planeMat.albedoTexture = tex;         }));         //拉伸UV         planeMat.tilingOffset = new Laya.Vector4(10, 10, 0, 0);         //板的画面的渲染材质   ...

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

2583. [LayaAirIDE3]微信小游戏资源加载失败,提示"删除错误记录:xxxx" [ 39%]

...同样条件下出现的:“TypeError: Cannot read property 'bitmap' of null at Texture.ts:535(env: macOS,mg,1.06.2405020; lib: 2.25.3) ” 。 现在我们可以先确认两点,第一:已经缓存的资源,假如被删除了,再次使用的时候是否能重新下载呢?第二:当前...

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

2584. unity 新建场景,预览报错。 [ 39%]

...ou are still trying to access it. Your script should either check if it is null or you should not destroy the object. n.a (UnityEngine.SkinnedMeshRenderer A_0, System.String A_1, System.Boolean A_2) (at <f23f19a62c944610ba98639869d48a79>:0) n.b () (at <f23f19a62c944610ba98639869d48a79>:0...

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

2585. 复选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...{ this.onCheckBoxSkinLoaded(); }); } private onCheckBoxSkinLoaded(e: any = null): void { let cb: Laya.CheckBox; for (let i: number = 0; i < this.COL_AMOUNT; ++i) { for (let j: number = 0; j < this.ROW_AMOUNT; ++j) { cb = this.createCheckBox(this.skins[i * this.ROW_AMOUNT + j]); cb.selected = t...

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

2586. LayaAir IDE 1.7.15 beta 九宫格在ie11下有缝隙,希望得到关注和解决! [ 39%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 使用getChildByName()无法得到子节点对象 [引擎优化]希望官方可以增加stencil功能 LayaAir 3D 有提供 3D 物理引擎功能吗? 问题状态 最新活动: 2018-03-13 10:27 浏览...

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

2587. laya.media.SoundChannel_API3.0 [ 39%]

... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...

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

2588. 用javascript如何实现游戏登录游戏前的资源加载进度,如何将图片,音乐等素材加载到界面通过加载条显示加载进度 [ 39%]

...er.create(this, this.createGameScene), Handler.create(this, this.progress, null, false)); } public createGameScene() { this.progressUI.onDisable(); Laya.timer.clear(this, this.updataPosition) let gameManager = new GameManager(this.token); gameManager.preInit(); } public progress(e) { this.progressUI...

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

2589. 没有人尝试使用3d物理引擎么 [ 39%]

...a.transform.rotate(new Vector3(-15, 0, 0), true, false); camera.clearColor=null; camera.addComponent(CameraMoveScript); CameraStat.show(camera, 200, 0); //添加方向光 var directionLight:DirectionLight=scene.addChild(new DirectionLight()) as DirectionLight; directionLight.ambientColor=new Vector3...

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

2590. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 39%]

...etDeviceInfo::get_Value={"guid":"da:38:87:b1:d3:77","os":"android","imei":[null],"phonemodel":"MI PAD","imsi":[null],"resolution":"2048*1536","dpi":320,"osversion":"4.4.4"} 05-16 15:59:50.204 7562-7605/com.dihong.testdcc E/LayaBox: >>>>>>>>>>>>>>>>>...

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