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

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

141. unity 新建场景,预览报错。 [ 59%]

...在创建场景后预览报错: MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. n.a (UnityEngine.SkinnedMeshRenderer A_0, System.String ...

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

142. Laya.URL.basePath加载不到网络资源 [ 59%]

...加载不到网络资源 var resArray = [ { url: "res/atlas/images.atlas", type : Laya.Loader.ATLAS}, // { url: "res/swf/flash.json", type: Laya.Loader.JSON}, // { url: "images/background.png", type : Laya.Loader.IMAGE}, ];   Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded2));  ...

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

143. websocket连接出错 [ 59%]

... function(data){ console.log(data); }); }); 自己写的html页面 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> </body> <script type="text/javascript" src="js/jquery-3.1.1.min.js" ></script> <...

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

144. LayaAir开发笔记(1)五十音图连连看 [ 59%]

...多说,理解不了请先去w3school学些一般基础知识。<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>五十音图对对碰</title> </head> <body bgcolor="gainsboro"> </body> <script src="libs/laya.core.js"></scr...

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

145. 最新版本IDE,如何获取http返回的json数据 [ 59%]

...取不到,请教一下什么问题 //注册按钮响应函数 Login.prototype.onButtonLogin = function (){ console.log ('按了登录按钮')  var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,thi...

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

146. 关于HttpRequest报错问题 [ 58%]

...uest(); xmlHttp.open("POST", url, true); xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=utf-8"); xmlHttp.once(Event.COMPLETE,this,onHttpRequestComplete); xmlHttp.once(Event.ERROR,this,errorHandler); xmlHttp.on(Event.PROGRESS,this,processHandler); function onHttpR...

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

147. unity 通过laya 导出 灵异事件 [ 58%]

...再导出 还是出现这个~~  MissingReferenceException: The object of type 'Mesh' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. UnityEngine.Object.get_name () (at C:/buildslave/unity/build/Runtime/Exp...

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

148. 关于laya图片资源缓存的问题 增量更新文件缓存 [ 58%]

...引用地址const res = [{ url: setStaticPrefix("card/card_item_bg.png"), type: Laya.Loader.IMAGE }] /** 添加文件hash */ export const setStaticPrefix = (url:string) :string => { if (staticHash[`images/${url}`]) { return staticHash[`images/${url}`] } return `images/${url}` }然后资源导出...

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

149. 怎么获取手机相册内容 [ 58%]

...机相册内容 怎么获取手机相册内容 <input accept="image/*" type="file">这个可以获得,但是怎么用,怎么接收,有没有有经验的。谢过大家了     2018-05-29 添加评论 已悬赏2元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

150. ts怎么调用input file弹框选择本地文件 [ 58%]

...调用input file弹框选择本地文件 这是index.html加的 <input type="file" id="file"> <script type="text/javascript"> function openFile(){ document.getElementById("file").click(); }   ts里调用 openFile() 弹不出文件选择框 请问该用什么方法   2017-07-06 添加...

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