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

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

601. 网络请求添加headers后 post数据错误 [ 68%]

...ackHandler = callback; // this.errcallback = errcallback; //this.http.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.http.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.http.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.http.send(url, 'chapterid=71...

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

602. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 68%]

## LayaAir和原生dom ​ 在开发项目中,开发者难免遇到dom元素支持,但是LayaAir中不支持或者支持的不完善。那么本节我们就来看下在开发中遇到的一些技巧。 ### LayaAir之SVG ​ 什么是svg?可能大部分开发者听说过这个名词,或者也...

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

603. 为什么预加载音频之后,再播放还是会重复请求下载呢? [ 68%]

...再播放还是会重复请求下载呢? 如题,预加载资源:   Laya.loader.load("Laya/Assets/bgm_low.mp3",null,null,Laya.Loader.SOUND); Laya.loader.load("Laya/Assets/dead.mp3",null,null,Laya.Loader.SOUND); Laya.loader.load("Laya/Assets/gameover.mp3",null,null,Laya.Loader.SOUND); Laya.load...

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

604. 我二进制资源load之后,为什么通过getRes获取不到。 [ 68%]

...如下: var resources = [ { url: "res/atlas/images/guide.atlas", type: Laya.Loader.ATLAS }, { url: "config/data.txt", type: Laya.Loader.BUFFER }]; Laya.loader.load(resources, Handler.create(this, this.onComplete), Handler.create(this, this.onProcess), null, 1, false); } onComplete(e,a,b) { console...

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

605. 引用MiniAdpter 类,微信开发者工具上运行,加载外部资源必定失败 [ 67%]

...找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 祈祷 Laya["MiniAdpter"] 用这种写法可以避免import 就会正常, 引擎默认 引了js的,不需要编译as的 或者在game.js中把 js的去掉引用 只import As的 即可 ,不然会...

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

606. loader callback cost a long time:187 这个提示是因为什么? [ 67%]

... loader callback cost a long time:187 url=D:/Users/Administrator/Documents/LayaDemo2/bin/Effect/E_bsd_skill2/Assets/E_SnowQueen_binglengqianghua_bingshuang1.png 这个图片29K,也不大啊 2017-05-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

607. laya.particle.Particle2D [ 67%]

...dex | Frames No Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Propert...

来源: Laya2.0_api 发布时间: 20190513

608. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 67%]

...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/unlit/UnlitTestMaterial" UnlitTestMaterial Class UnlitTestMaterial Hierarchy Material UnlitTestMaterial Implements IClone Index Constructors constructor Properties destoryedImmediately lock name renderQu...

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

609. MiniAdpter.nativefiles 设置后并没有起作用 [ 67%]

...st/url/";   MiniAdpter.nativefiles=[  "res/media/",  "prefab/bb.json" ] Laya.Loader.load(...../); 2019-09-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 只有在微信小游戏中...

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

610. 微信开发者工具代码包大于4M的话,在本地也不能调试吗? [ 67%]

...找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞同来自: 代码包大于4M的话,不影响本地调试,只要不在真机调试,多大都没关系。   但是你早晚要真机调试的,请看相关的4M包技术文档: https://ldc.layabox.com/doc/?n...

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