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

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

1141. 二进制文件打包后,读取不到zip包内的文件 [ 65%]

...包里。主要代码如下    let loaditem = [{ url: "test.zip", typeLaya.Loader.PLFB }]         Laya.loader.load(loaditem, Laya.Handler.create(this, function (res) {             let item = 'res/layabox.png'             let getres = Laya.loader...

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

1142. prop 识别不到 [ 65%]

...tends Laya.Script {     /* @prop {name: speed, tips: "速度", type: Number, default: 10} */      constructor() {         super();     }      onAwake() {         console.log("场景渲染完成", this.speed);     } }   IDE中报错: [15:26:34] ...

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

1143. 导出素材,不拷贝未打包资源 [ 65%]

...'C:\Users\itadmin3\Ap pData\Roaming\npm\node_modules\layacmd\node_modules\@types\node' npm ERR! path C:\Users\itadmin3\AppData\Roaming\npm\node_modules\layacmd\node_mo dules\@types npm ERR! code ELOOP npm ERR! errno -4067 npm ERR! syscall mkdir npm ERR! ELOOP: too many symbolic links encountered, mk...

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

1144. laya.display.cmd.FillTextCmd_API3.0 [ 65%]

... color font stroke strokeColor text recover create Legend Class Class with type parameter Property Method Accessor Object literal Variable Function Type alias Static property Static method Enumeration Interface

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

1145. laya.d3.resource.models.PrimitiveMesh_API3.0 [ 65%]

...reatePlane createQuad createSphere Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method

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

1146. laya.display.Text [ 65%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...

来源: laya_api 发布时间: 20170929

1147. laya.d3.core.scene.bvh.BVHSpatial_API3.0 [ 65%]

...motionOne rebuild removeOne update Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface

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

1148. 网络通信 · LayaAir3文档 · LAYABOX [ 65%]

...ort 请求的五种状态 response varies 响应实体的类型由 responseType 来指定, 可以是 ArrayBuffer ,Blob, Document, JavaScript 对象 (即 “json”), 或者是字符串。如果请求未完成或失败,则该值为 null responseText DOMString 此次请求的响应为文...

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

1149. 发布微信小游戏json格式问题 [ 65%]

...或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii"; } 2018-02-05 0 0 分享 微博 QZONE 微信 为什么被...

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

1150. js socket 连接不上 [ 65%]

... 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_社区 发布时间: 20180509