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

大约有 1,523 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0067 秒)

261. 关于HttpRequest [ 81%]

...ON.stringify(obj); var s:string = CommonUtils.urlEncode(obj); var hr = new Laya.HttpRequest(); hr.once(Laya.Event.PROGRESS, this, function (e) { console.log(e); }); hr.once(Laya.Event.COMPLETE, this, function () { console.log(hr.data); }); hr.once(Laya.Event.ERROR, this, function (e) { console.log(e...

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

262. 分享 修复webaudiosound 循环播放的声音 俩个失声问题 [ 81%]

...有声音的问题修复 webAudioSoundChannel play方法修改  _proto = Laya.WebAudioSoundChannel.prototype; /** *播放声音 */ _proto.play = function () { // if (this.url.indexOf("music.d") != -1) { // console.log("play", this.url) // console.trace("play", this.url) // } Laya.SoundManager.addCh...

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

263. laya.resource.Texture_API3.0 [ 81%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors construct...

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

264. Laya.loader.getRes [ 81%]

Laya.loader.getRes Laya.loader.getRes会报错,uri.indexof is not a function错误.代码如图所示 附件 : --> 2020-03-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 awua 赞同来自: 你这个url就是...

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

265. laya.d3.component.animation.KeyframeAnimations [ 81%]

...Frames No Frames KeyframeAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class KeyframeAnimationsInheritanceKeyframeAnimations Component3D EventDispatcher ObjectSubclasses RigidAnimations, SkinAnimations KeyframeAnimation 类用于帧动画组件的父类。 ...

来源: laya_api 发布时间: 20170929

266. 动画不显示 [ 81%]

...加入附件。我把全部源码贴出来吧   package {     import laya.utils.Handler;     import laya.display.Text;     import laya.display.Animation;     import laya.webgl.WebGL;     import laya.media.Sound;     import laya.webgl.shapes.Ellipse;     import laya.display.Stag...

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

267. 内存释放问题 [ 81%]

LayaAir引擎 内存释放问题 export class ResUIModuleManager { /** * 模块资源路径 */ private static moduleResPath: string = 'res/atlas/{0}.json'; /** * 模块的资源名称和模块的主面板(模块的主面板类全名,模块资源图集名称[]) * @type {Laya.Dictionary} * @mem...

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

268. 求解关于跨域的具体操作 [ 81%]

...lication/json"); 还是说用参考代码里的HttpRequest() var xhr = new Laya.HttpRequest(); xhr.http.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, loader]); xhr.once(Laya.Event.ERROR, this, this.errorHandler);...

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

269. laya.ani.bone.Templet [ 81%]

...Index | Frames No Frames TempletProperties | Methods | Events Packagelaya.ani.boneClasspublic class TempletInheritanceTemplet laya.ani.AnimationTemplet 动画模板类 Public Properties PropertyDefined By  aniSectionDic : ObjectTemplet  bindBoneBoneSlotDic : Object 绑定插槽数据的字...

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

270. 微信小游戏加载ProtoBuf文件和图片加载问题 [ 81%]

...s/扣牌文字背景.png", type: Loader.IMAGE}, //这张图有问题。 ]; Laya.loader.load(loadArr,Handler.create(this, onLoad2)); 目前不知道如何解决。 有些图片没有问题,有些图片不可以,也有可能是这个图的问题,我再排查一下,重点是上个问题,proto...

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