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

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

61. 手机QQ厘米秀GLTF模型使用说明(TypeScript-小游戏适配文档-QQ小游戏) [ 54%]

...载地址: [点击此处下载DEMO包](https://official.layabox.com/laya_data/LayaAir2.0/Chinese/LayaAir_TS/3D/useGLTF/CmShwoDemo.zip) #### 加载模型示例 1. 创建辅助对象 ```typescript // gltf 模型文件 gltfFile: any = { skeleton: { url: "res/skeleton.gltf", type: Loader.JSON }, face:...

来源: Laya2.0_文档 发布时间: 20210715

62. 教你微信小游戏使用服务端gzip数据。 [ 53%]

...cess(res) {     console.log(fromCharCode(Pako.inflate(new Uint8Array(res.data))));   } }); //处理中文 function decodeUTF8(arr,toType)  { //转为utf8编码字符串   let  str  =  '';       for  (var  i  =  0;  i  <  arr.length;  i++)  {             str  +=  Stri...

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

63. http请求接口时,app闪退。这是http请求的一个demo 哪位大佬帮看一下 [ 52%]

...estComplete(hr:Laya.HttpRequest, call:Laya.Handler):void { call.runWith(hr.data); Http._requests.push(hr); } 2019-06-10 0 1 分享 微博 QZONE 微信 1560063291用户 赞同来自: 已解决,联系我 xyz 2019-06-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题...

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

64. 关于Tween类多个对象同时缓动的时候过一段时间会不同步 [ 52%]

...杞 • 2020-12-15 18:47 @暮黎: Laya.Tween.to(mask, { scaleX: 0 }, that.data.effectTime * 1000,null); Laya.Tween.to( [rect, mask], { width: 0 }, that.data.effectTime * 1000, null, Laya.Handler.create(this, function() { isSceneAnimMask.destroy(); }) ); 我是这样写的,就同步了 Laya_Aaron •...

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

65. 【LIST无法拖动】参照官方实例做的 [ 51%]

...     // 设置数据项为对应图片的路径         var data: Array<String> = [];         //解析二进制已获得关卡队列,先取有效位书          let s = json.my_guanqia.substr(0,this.default_guanqia.length);         data = this.fi...

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

66. 关于资源版本号的问题咨询 [ 51%]

..., obj.sourceSize.h)); loadedMap[url].url = url; map.push(url); } } delete _data.pics;    代码中斜线+加粗的代码则会去找版本号,并确定是否有需要添加的版本号,因为在ResourceManager的 public static function addVersionPrefix(originURL:String):String { if (manifest &...

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

67. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 49%]

...请问怎么把之前的描边重新移 除呢?       import { PathData } from "../data/PathData"; import InsManager from "../manager/InsManager"; import { BlurEffect, BlurMaterial } from "../shader/BlurShader/BlurEffect";  export class CommandBuffer_Outline {      privat...

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

68. 2D寻路 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

...于需要对不同区域应用不同寻路规则的场景。 2.1.5 数据datas 点击Bake按钮后,弹出烘焙面板,如图2-11所示,从层级面板中选择要烘焙的子节点(surface节点上添加了2D导航网格表面组件),拖入到烘焙面板中,按照需要选择节点进...

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

69. 微信小游戏加载资源问题 [ 48%]

...gr.fs.readFile({ filePath: fileUrl, encoding: encoding, success: function (data) { callBack != null && callBack.runWith([0, data]); }, fail: function (data) { if (data && readyUrl != "") MiniFileMgr.downFiles(readyUrl, encoding, callBack, readyUrl, isSaveFile, fileType); el...

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

70. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 48%]

...R: string = "io-error";         /** 数据*/         public static DATA: string = "data";         constructor(decorate?:Decorate) {             super();             this.mDecorate = decorate || new Decorate(this);             this.pomelo = new Pomelo();           ...

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