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

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

981. 关于native二次开发问题 [ 54%]

...2019-11-04 18:23 let os = (window as any).conchConfig.getOS(); let bridge; if (os === 'Conch-ios') { alert(os); bridge = (window as any).PlatformClass.createClass('JSBridge'); } 官方这样写的发给我的,是没错,但没告诉我,怎么去通过bridge调xcode中的方法 杨福峰 • 201...

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

982. 3d物理引擎报错 [ 54%]

... set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 "). Build with -s ASSERTIONS=1 for more 2018-10-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

983. laya2.0 localStorage语法错误 [ 54%]

...ript 仅有的使用三个操作数的运算符。本运算符经常作为if 语句的简短形式来使用。   https://developer.mozilla.org/ ... rator 2018-11-22 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 如果觉得是引擎问题,可以发一个精简demo 2018-11-23 0 0 分享...

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

984. 关于spine-core-3.8的问题 [ 54%]

...Data.hash = input.readString(); skeletonData.version = input.readString(); if ("3.8.75" == skeletonData.version) throw new Error("Unsupported skeleton data, please export with a newer version of Spine."); skeletonData.x = input.readFloat(); skeletonData.y = input.readFloat();上面是spine-core-3.8 ...

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

985. 手机上,怎么判断游戏是浏览器打开的还是在app内打开的? [ 54%]

...请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: if( window.conch ) 这个只有app 才能走进去,,浏览器走不进去,拿这个判断是不是app 2018-06-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

986. [分享]Dialog 点击边缘不关闭的 Demo示例 [ 54%]

...来自: 小丶kiss public close(type?:string, showEffect?:boolean):void{ if(type === "side"){ return; } super.close(type, showEffect) }  刚下载了楼上的zip。方法生效了。表示感谢。 把代码贴出来。免得别人再去下载了。 2018-11-29 1 0 分享 微博 QZONE 微信 callbac...

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

987. 八叉树与PixelLineSprite3D冲突 [ 54%]

...       //根据IDE设置初始化引擎               if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height, configs);     this.scene3d = new Laya.Scene3D();         Laya.stage.addChild(this.scene3d);         let ss = new Laya.PixelLi...

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

988. 3D场景跳转到2D场景问题 [ 54%]

...除3D场景,3D场景玩家 上面的代码: onCollisionEnter(other){ if(other.other.owner.name==="end"){ // this.owner.parent.removeSelf(); //删除自身场景 console.log(this.owner.parent) console.log(this.owner.parent.parent); //创建胜利的UI界面 let victoryScene=new VictoryScene(); La...

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

989. textinput动态修改宽度 会出现重叠的文字 [ 54%]

...s, this.input, [input]); private input(input:Laya.TextInput, event:Event){ if(input.text.length > 2){ input.width += 20; } } 请问怎么解决这个问题? 附件 : --> 2017-08-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

990. core.js的版本控制 [ 54%]

...erverList.json"),this.noVersionDic);//serverlist不加入版本控制 if(LayaAirProjectPack.isTrue(RunConfig.enableVersion)) LayaAirProjectPack.addFileToDicData(FileManager.getPath(RunConfig.sourcePath,RunConfig.versionFile),this.noVersionDic); } lxyfhl • 2018-10-30 15:24 发现是这个方...

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