大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0086 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
... xfx7788 赞同来自: 好像注册了也不行getClass返回的是一个function不是实例 2017-09-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 132*****180 相关问题 两个对象new了一个相同的对象,调用第一个的...
来源: Laya_社区 发布时间: 20170814
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
...:VM1049:1 gameThirdScriptError undefined;at api request success callback function undefined Charles • 2018-09-03 09:54 而且我看sendAtlasToOpenDataContext这个方法并没有处理纹理的程序在啊,只有处理json或者atlas的程序。
来源: Laya_社区 发布时间: 20180831
...有,那接口的作用是什么呢? interface(name:String, superClass:Function):void [static] JS中定义接口。如 Laya.interface("a.b.myinterface", null); Laya.interface("a.b.myInterface2", BaseInterface); imps(prototypeChain:*, superInterfaces:Object):void [static] JS中实现接口。如...
来源: Laya_社区 发布时间: 20180615
... btCollisionObject undefined 导微信小程序报错window.focus is not a function HTMLDivElement 2.0 排版问题 官网示例摇一摇报错,就解决方案 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 问题状态 最新活动: 2019-09-03 16:40 浏览: 800 关注:...
来源: Laya_社区 发布时间: 20190821
...romise) DOMException: play() 导微信小程序报错window.focus is not a function 启动引擎报错 mPlugin.game_plugin_init(3); 真机调试报错:LayaPlayer不支持的标签</SCRIPT> runtime运行报错! 本地调试加载本地图片都报错 问题状态 最新活动: 2017-07-06 13...
来源: Laya_社区 发布时间: 20170706
...ndPosition startColor startPosition cloneTo Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...}; } MiniFileMgr.fs.readdir({ dirPath: MiniFileMgr.fileNativeDir, success: function (data) { var tempMd5ListObj = {}; var fileObj; for (let key in MiniFileMgr.filesListObj) { if (key != "fileUsedSize") { fileObj = MiniFileMgr.filesListObj[key]; tempMd5ListObj[fileObj.md5] = true; } } var files = dat...
来源: Laya_社区 发布时间: 20200529
...class BackGround extends Laya.Sprite{ constructor() { super(); new init(); function init() { var bg1 = new Laya.Sprite(); var bg2 = new Laya.Sprite(); //背景图 // box.loadImage("../bin/background.png"); // Laya.stage.addChild(box); bg1.loadImage("../bin/background.png"); this.addChild(bg1); bg2.l...
来源: Laya_社区 发布时间: 20160926
...dX constructor defaultRand random randomint Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115