大约有 622 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)
... private createVideo():void { this.video = new Video(); 附件 : --> LayaVideo.rar 2017-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 请...
来源: Laya_社区 发布时间: 20170512
... laya.2.3.0 打包Ios时无错 打开后报错 null is not an object this._vaoExt.createVertexArrayOES() 10365 附件 : --> 2020-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: ...
来源: Laya_社区 发布时间: 20200331
...位置,对齐的位置和refence重合 Laya.stage.on(Laya.Event.RESIZE, this, fitDOM); let viewIns = this; function goGameWorld() { videoElmt.pause(); Laya.stage.removeChild(reference); Laya.Browser.removeElement(videoElmt); // Laya.Browser.document.body.removeChild(videoElmt); Laya.Browser.remove...
来源: Laya_社区 发布时间: 20180802
... 游戏内容当中,检测横竖屏: Laya.stage.on(Laya.Event.RESIZE, this, this.onResize); /** 更改适配*/ public onResize() { var stageWidth = Laya.Browser.clientWidth; var stageHeight = Laya.Browser.clientHeight; if (stageWidth < stageHeight) { console.log("one", Laya.stage.scaleMod...
来源: Laya_社区 发布时间: 20170920
...}; constructor(){ super()} createChildren():void { super.createChildren(); this.createView(HelloUI.uiView); } } REG("ui.HelloUI",HelloUI); } 附件 : --> TestDemo.zip 2019-06-25 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0...
来源: Laya_社区 发布时间: 20190625
... .lh file root type must be Sprite3D,please use other function to load this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file. at Sprite3D.__proto.onAsynLoaded (http://127.0.0.1:65353/gam...
来源: Laya_社区 发布时间: 20180228
...roto.loadUI=function(path){ var uiView=View.uiMap[path]; uiView && this.createView(uiView); } 发现uiMap这个容器永远都是空的,无法调用到createView。请指点。 2018-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20180512
... //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); Laya.loader.load ( [ { url: "res/atlas/comp.atlas" , type: Loader.ATLAS }, ...
来源: Laya_社区 发布时间: 20180513
...-09 14:56 浏览: 2105 关注: 2 人 IM-许 • 2019-07-06 14:23 你这个 this.next() 是什么
来源: Laya_社区 发布时间: 20190705
drawToCanvas无法释放内存 Laya.stage.frameLoop(1, this, ZX);function ZX():void{ var tex:Texture=new Texture(sp.drawToCanvas(sp.width,sp.height,0,0)) sp.graphics.clear() sp.graphics.destroy() tex.destroy() ...
来源: Laya_社区 发布时间: 20190120