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

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

131. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 78%]

...怎么去继承 1591859396用户 • 2020-06-11 15:11 @Laya_Aaron:var MainSceneUI=(function(_super){ function MainSceneUI(){ this.Btn_Task=null; MainSceneUI.__super.call(this); } CLASS$(MainSceneUI,'ui.MainSceneUI',_super); var __proto__=MainSceneUI.prototype; __proto__.createChildren=function(){ _s...

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

132. worker.js 使用问题 [ 78%]

....js:28751)     at RenderQueue.__proto._render (laya.d3.js:4070)     at Scene.__proto._renderScene (laya.d3.js:26518)     at Camera.__proto._renderCamera (laya.d3.js:36269)     at Scene.__proto.renderSubmit (laya.d3.js:26982) 2017-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

133. 加载unity导出场景失败 [ 77%]

加载unity导出场景失败 代码: Laya.init(600, 400); var scene=Laya.Scene.load("main/SMain.ls"); Laya.stage.addChild(scene);    错误信息: Warning!,this class[MiniAdpter] already exist: Object Error: LoaderManager:unknown file(E:/LayaAir/ZJKZWDT/bin/main/SMain.ls) extension with: ls....

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

134. 三个手指并排点击屏幕卡死 [ 77%]

...现,QQ小游戏没事。 官方3D示例,不会卡死。   还有IOS Scene3D切换过程中乱点屏幕 end undefined     __proto.remove=function(element){         var index=element._getIndexInList();         this.length--;         if (index!==this.length){      ...

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

135. UNITY导出的模型旋转不了 [ 77%]

...LL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); Laya.Scene3D.load('/1/res/SampleScene.ls', Laya.Handler.create(null, function(scene1){ let scene = Laya.stage.addChild(scene1); Laya.Sprite3D.load("/1/res/SampleScene.lh", Laya.Handler.create(null, function(sp) { //let obj = sp; l...

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

136. 《用LayaAir IDE制作3D角色创建与选择界面》js版本角色动画无法运行 [ 77%]

...s:21363)     at MeshSprite3D.__proto._update (laya.d3.js:36715)     at Scene.__proto._updateChilds (laya.d3.js:27736)     at Scene.__proto._updateScene (laya.d3.js:27940)     at Stage.__proto.render (laya.core.js:18226)     at Stage.__proto._loop (laya.core.js:18172)     at loop (laya.co...

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

137. 摄像机的viewportPointToRay报错 [ 77%]

...ainCamera.viewportPointToRay(this.pointRay, this.ray); (this.owner as Laya.Scene3D).physicsSimulation.rayCast(this.ray,this.hitresult); console.log(Laya.MouseManager.instance.mouseX + " -=----------" + Laya.MouseManager.instance.mouseY); if (this.hitresult.succeeded) { console.log(this.hitresult.col...

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

138. layaMaxUI.ts的自动生成代码bug [ 76%]

...bug 版本 laya_ide_2.0.2_beta,  ts版本,  内嵌模式 自己编写SceneBase作为 Scene的基类 在ide编辑模式中使用   运行demo 按F12 生成 代码如下/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import SceneBase from '../Scene...

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

139. 调用原生js [ 76%]

...动画结束on方法,报错this.zombieAnimator.on is not a function Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 Laya2.1.0 JS调用Java PlatformClass undefined laya支持批处理调用js压缩吗? [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc ...

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

140. 一个场景,两个线形碰撞体,出错 [ 76%]

...不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 unity导出的场景不显示实时阴影 两个问题 有元件...

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