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

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

141. 把场景中的对像删除,就会报错 [ 55%]

...ite3D.__proto._transform (Main.max.js?r0.22069932534774384:53206)     at Stage.__proto.render (Main.max.js?r0.22069932534774384:54362) 附件 : --> 2017-09-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monic...

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

142. 安装layaair2-cmd一直失败 [ 54%]

...Users\Administrator\AppData\Roaming\npm\node_modules\.staging 31936 timing stage:rollbackFailedOptional Completed in 3367ms 31937 timing stage:runTopLevelLifecycles Completed in 192968ms 31938 warn notsup Unsupported engine for got@5.7.1: wanted: {"node":">=0.10.0 <7"} (current: {"node":"12.13...

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

143. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 54%]

...Adpter.init(true,false); //初始化引擎 Laya.init(640, 480,WebGL); Laya.stage.scaleMode = Stage.SCALE_FIXED_HEIGHT; Laya.stage.bgColor = "#ffffff"; if (Browser.onMiniGame) { Laya.timer.once(1000, this, function():void{ //设置共享画布大小 __JS__('sharedCanvas').width = Laya.stage.width; __...

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

144. 分享:List相关(Item增删功能) [ 53%]

...blic function LayaUISample() { //初始化引擎 Laya.init(600, 800); Laya.stage.bgColor = "#ffcccc"; //加载界面需要的资源文件 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 listP ...

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

145. TypeError: Cannot read property '_addRenderObject' of undefined [ 53%]

...t (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:12142:26)   at Stage.addChild (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:11998:22)   at GameUI.onLoadSceneOver (file:///E:/A_LayaDemo/test3Dscene/bin/js/bundle.js:28:24)   at Handler.runWith (file:///E:/A_LayaDemo/test3Dscen...

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

146. 官方案例里摄像机绕物体旋转脚本的问题 [ 49%]

...Distance = Vector3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouse...

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

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

...rite = new Laya.Sprite(); a.graphics.drawCircle(0, 0, 50, "#ff0000"); Laya.stage.addChild(a); a.size(100, 100); a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThroug...

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

148. laya.d3.core.particleshuriken.ShurikenParticleInstanceSystem_API3.0 [ 44%]

...:105 初始化 buffer Returns void _updateRenderParams _updateRenderParams(stage: RenderContext3D): void Overrides ShurikenParticleSystem._updateRenderParams Defined in laya/d3/core/particleShuriKen/ShurikenParticleInstanceSystem.ts:508 Parameters stage: RenderContext3D Returns void addNewParticlesT...

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

149. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 43%]

...发起获得最短路径的调用: //设置鼠标弹起事件响应 Laya.stage.on(Event.MOUSE_UP, this, function (): void { //起始和目标点 var start = this.graph.grid[this.startPoint.x][this.startPoint.y]; var end = this.graph.grid[this.endPoint.x][this.endPoint.y]; //调用A* serach方法...

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

150. lib/arm/liblayaair.so 总是崩溃 [ 36%]

...so     M EF6AE000 00000000 0000E000 AD12F266E11C52CE47A48142E9D9E4B60 libstagefright_amrnb_common.so     M EF6BB000 00000000 00022000 F4EED9E0DBCD0039613199B23DA49AD50 libexif.so     M EF6EA000 00000000 00015000 9DF5297991EBB31404CF11CD9C34AA6B0 libmtp.so 08-14 10:57:49.249 22858-22354/? A/goo...

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