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

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

641. APP打包3D场景资源加载一半停止 [ 49%]

...下,并且在此文件夹下的资源名称前缀都是“unity default resources-”  这中间有空格,当资源再次被加载的时候读取此资源时报错,应该是空格他们识别不了,这个错误我自己打包测试的时候没有报错只是不加载资源,报错问题是...

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

642. 如何实现类似AS3下的BitmapData.draw去截取区域图片? [ 49%]

...reate创建package {     import laya.display.Sprite;     import laya.resource.Texture;     import laya.utils.Handler;     public class CupPhone     {         public function CupPhone()         {             Laya.init(550,400);             Laya.loader.load...

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

643. load方法加载cdn上面的图片资源的时候直接报了跨域不同源的问题,怎么破? [ 49%]

...olicy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bookportal.com' is therefore not allowed access. 2018-02-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian ...

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

644. laya.ui.Dialog_API3.0 [ 49%]

...age.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/btn_close.png", Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { dialog = new Dialog_Instance();//创建一个 Dialog_Instance 类的实例对象 dialog。 dialog....

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

645. IDE发布之后,在res下并没有任何资源,这是什么情况啊? [ 49%]

...方),资源路径写错了。改成 Laya.loader.load("res/atlas/Resources.json",laya.utils.Handler.create(this,this.onReader),null,laya.net.Loader.ATLAS);就好了 Buzhihew • 2017-01-11 15:50 @Monica:.......我.....总之谢谢啊啊啊 Monica • 2017-01-11 15:51 @Buzhihew:不客气...

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

646. [LayaAir3]LayaAirIDE中的Spine动画和SpinePro中的动画不一致的问题 [ 49%]

...很多。 乱起名字 • 2025-06-24 15:59 @LayaAir小牛:Failed to load 'resources/ByHit.skel' RangeError: Offset is outside the bounds of the DataView 不显示 LayaAir小牛 • 2025-06-24 17:08 @乱起名字:问了一下 spine官方把这个版本拉闸了 建议您使用正版 乱起名字 •...

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

647. 怎么清理掉 Sprite3D 相关的缓存资源, 资源destroy后内存还下降、。 [ 49%]

...p[groupName]; if(arr != null){ for each (var url:String in arr) { var item:Resource = Laya.loader.getRes(url); if(item != null){ item.destroy(); item = null; } } Loader.clearResByGroup(groupName); } }

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

648. 请问一下,怎么将下面这段AS3代码翻译成LayaAir的API [ 49%]

...play.Sprite; import laya.maths.Matrix; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; public class LayaAirDemo { public function LayaAirDemo() { Laya.init(700,600); Laya.loader.load('res/apes/monkey2.png',Handler.create(this,onLoaded)) } private function onLoaded():...

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

649. 切换场景编辑器时 Laya3D init error must support webGl [ 49%]

... 在评论区发现一位牛人的解决方案是:在LayaAirIDE根目录\resources\app\out找到main.js,打开在this.app.once("ready")这一行上面加一行:this.app.commandLine.appendSwitch("ignore-gpu-blacklist");保存,重启IDE再试试(我是有效的 ) 2019-04-13 1 0 分享 微博...

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

650. Laya2.0引擎创建3d示例项目运行报错 [ 49%]

...29:49] Working directory changed to C:\Program Files (x86)\LayaAirIDE_beta\resources\app [10:29:49] Using gulpfile ~\Documents\myLaya\myLayaEmpty\.laya\gulpfile.js [10:29:49] Starting 'default'...  出错了: TypeScript error: ../../../node_modules/@types/gsap/index.d.ts(6,22): Error TS6053: File '...

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