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

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

591. laya.device.media.Video播放视频的问题 [ 69%]

...画面,画面需要手动设置渲染吗?  //获取视频地址 let url = '---'; let videoPlayer: Video = new Video(); videoPlayer.load(url); videoPlayer.play(); let videoChecker = setInterval(function () { if (videoPlayer.ended) { //请求奖励 console.log('请求奖励'); clearInterval(video...

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

592. Native1.0.1 无法连接wss [ 69%]

....1 无法连接wss 如题, Naitve无法连接wss 示例代码如下: const url = "wss://xxx.com:8888"; this.socket = new Laya.Socket(); this.socket.endian = Laya.Byte.BIG_ENDIAN; this.socket.on(Laya.Event.OPEN, this, this.onConnectSuccess); this.socket.on(Laya.Event.CLOSE, this, this.onDisonnect); t...

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

593. Not FoundLayaAirIDE_1.7.10_beta 無法下載 [ 69%]

Not FoundLayaAirIDE_1.7.10_beta 無法下載 The requested URL /download/LayaAirIDE_1.7.10_beta.zip was not found on this server.   The requested URL /download/LayaAirTS_1.7.10_beta.zip was not found on this server.   麻煩提供檔案到外網,好讓其他開發者下載。 2017-08-29 添加...

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

594. Button等组件lose skin的问题 [ 69%]

...信 hzzzo 赞同来自: 你可以看一下DEMO,在设置了基础路径URL.basePath之后,之前预加载的本地资源会失效。而预期的效果应该是加了基础路径之后不会影响到本地白名单中的资源 2019-10-24 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这...

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

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

...助对象 ```typescript // gltf 模型文件 gltfFile: any = { skeleton: { url: "res/skeleton.gltf", type: Loader.JSON }, face: { url: "res/face.gltf", type: Loader.JSON }, eyes: { url: "res/eyes.gltf", type: Loader.JSON }, ... } // 装扮配置文件 makeupjson: any = { blusher: { cfg: "res/self/gl...

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

596. 动画实例在调用含有名字参数的时候获取不到边界 [ 69%]

...aded(){ for(let i in this.playerUnit){ Laya.Animation.createFrames(this.aniUrls("stand",4),"player"+i+"stand") //this.playerUnit[i].play(0,true,"player"+i+"stand"); this.playerUnit[i].play(); let bounds = this.playerUnit[i].getGraphicBounds(); this.p...

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

597. laya.d3.core.glitter.Glitter [ 69%]

...Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  Glitter() 创建一个 Glitter 实例。 Glitter _getSortID(renderElement:IRender...

来源: laya_api 发布时间: 20170929

598. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 69%]

...  /**     *@inheritDoc     */   __proto.onAsynLoaded=function(url,data,params){     var json=data[0]     if (json.type!=="Scene"){ if (url == "scene/Demo_Interiors.ls"){ console.log(data[0]); throw new Error("Scene: the .lh file root type must be Scene,please use other function t...

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

599. 1.6.2打包的图集不能使用 [ 69%]

...总是显示longtime  。。在断点的情况下。 Laya.loader.load([{url: "res/atlas/longCard.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); 在onLoaded var textrue = Laya.loader.getRes(longcard/xxx.png)总是undedined。。。求解。。。 相关链接 : http://ask.layabox....

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

600. laya.d3.core.particle.Particle3D [ 68%]

...Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  Particle3D(setting:ParticleSetting) 创建一个 Particle3D 实例。 Particle3D ...

来源: laya_api 发布时间: 20170603