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

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

91. 帧动画 加场景跳转。就不显示了 [ 75%]

帧动画 加场景跳转。就不显示了 如题,直接运行main场景。动画可正常显示并播放。  但是先启动first场景。再跳转过来。就不显示了 附件 : --> AniTest111.zip 2022-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

92. Laya进入编辑模式就报这个错误 Laya3d init error ,must support webGL [ 75%]

...、更新显卡驱动, 2、在LayaAirIDE根目录\resources\app\out找到main.js,打开在this.app.once("ready"上面加一行: this.app.commandLine.appendSwitch("ignore-gpu-blacklist"); 保存,重启IDE再试试 3、如果以上还没解决,请百度搜索,如何强制开启webgl   2019-...

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

93. android-APK更新下载完包体之后闪退 [ 75%]

...0:25:46.009 16276-16276/com.baitan.game E/AndroidRuntime: FATAL EXCEPTION: main     Process: com.baitan.game, PID: 16276     android.os.FileUriExposedException: file:///mnt/sdcard/autoupdate.apk exposed beyond app through Intent.getData()         at android.os.StrictMode.onFileUriExposed(Str...

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

94. Android studio项目升级Native后,运行程序报错。 [ 75%]

...) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5643) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960) at com.an...

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

95. 打包后启动游戏后报错 [ 74%]

...l; script.type = "get"; Browser.window[callbackName] = callback; //loading Main.tl.startLoad(); } private function callback(data:*):void { //移除 var script:* = Browser.getElementById("serverlist"); Browser.document.head.removeChild(script); DataCollection.jsonp.parseData(data); //loading Main.tl....

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

96. Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 [ 74%]

...同来自: 1554275962用户 在LayaAirIDE根目录\resources\app\out找到main.js,打开在this.app.once("ready"上面加一行: this.app.commandLine.appendSwitch("ignore-gpu-blacklist"); 保存,重启IDE再试试 2019-04-10 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...

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

97. Unity插件导出后获取不了Scene子集 [ 74%]

...子集都是0 代码流程如下: var scene = Laya.Scene.load("res/LayaMain/main.ls") Laya.stage.addChild(scene); var camera: Laya.Camera = (scene.getChildByName("Main Camera")) as Laya.Camera;//camera为空   附件 : --> LayaAirPjt.rar 2018-01-18 添加评论 免费帖 --> 分享 微博 QZONE ...

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

98. ts项目编译问题 [ 74%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target layaAir TS项目如何引用protoBuf库? ide 2.4 layaair2-cmd 编译报错 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 版本不匹...

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

99. 分享:LayaAir下如何获取图集下的小图资源? [ 74%]

...der; import laya.resource.Texture; import laya.utils.Handler; public class Main { public function Main() { //初始化引擎 Laya.init(600, 800); //加载引擎需要的资源 Laya.loader.load([{url:"res/atlas/atlas_res.json",type:Loader.ATLAS}], Handler.create(this, onLoaded)); } private function o...

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

100. Ts项目 一直报这个错误 [ 74%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不...

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