大约有 4,034 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0079 秒)
Laya_社区(3264) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(107) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
Warning!,this class[MiniAdpter] already exist: Object {init: } Warning!,this class[MiniAdpter] already exist: Object {init: } 为什么报这个警告 2018-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w11...
来源: Laya_社区 发布时间: 20180427
...gb); ts代码设置u_ShadowMapTex onUpdate(){ this.ShadowCamera.transform.lookAt(new Vector3(0,0,0), new Vector3(0,1,0), false); let v:Matrix4x4 = this.ShadowCamera.viewMatrix; let p:Matrix4x4 = this.ShadowCamera.projectionMatrix...
来源: Laya_社区 发布时间: 20200229
...引用,应该怎么去引用呢? 代码如下:listP是一个UI页面. 用this.lost1,空对象,但是用this._childs[5]是可以的 var lose1=new Laya.Animation(); lose1.loadAnimation("lose_1.ani"); lose1.x=150; lose1.y=400; lose1.size(100,300); lose1.on(Laya.Event.CLICK,this.listP,this.play1); lose1...
来源: Laya_社区 发布时间: 20171025
... output=socket.output; socket.on(Laya.Event.OPEN,this,onSocketOpen); socket.on(Laya.Event.CLOSE,this,onSocketClose); socket.on(Laya.Event.MESSAGE,this,onMessageRev); socket.on(Laya.Event.ERROR,this,onConnectError); 在 socket.on(Laya.Eve...
来源: Laya_社区 发布时间: 20170116
...rome-extension, https. load(url) { var me = this; url = URL.formatURL(url); this.url = url; this.audioBuffer = WebAudioSound._dataCache[url]; if (this.audioBuffer) {...
来源: Laya_社区 发布时间: 20200107
...17-12-27 23:51 浏览: 930 关注: 2 人 tyl925450909 • 2017-12-27 23:58 this.herolist= new Laya.List(); this.herolist.selectEnable = true; this.herolist.itemRender = HeroStartHeadItem; this.heropanel.addChild(this.herolist); //UI中直接添加的panel 已经实例化 this.heropanel.hScrollBarSki...
来源: Laya_社区 发布时间: 20171227
...取并修改自身材质: ...... //添加3D场景----------------------- this.scene = new Laya.Scene(); Laya.stage.addChild(this.scene); //方法一:直接异步加载 // var mesh:Laya.Mesh = Laya.Mesh.load("LayaScene_01/Assets/model/loveScene_jianzhu.lm"); // var meshSprite3D:Laya.MeshSprite3D ...
来源: Laya_社区 发布时间: 20171109
...都没执行 LayaAir 1.7.17 beta JS版本 function postData(url,request) { this.http = new Laya.HttpRequest(); //new一个HttpRequest类 this.http.once(Laya.Event.PROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会...
来源: Laya_社区 发布时间: 20180315
...tatic s_instance = null; public static getInstance():MapManager { if(null==this.s_instance) { this.s_instance=new MapManager(); this.s_instance.init(); } return this.s_instance; } private init() { } private skins: Array<string>; private mapImg:Laya.Image; private constructor() { } public GetMa...
来源: Laya_社区 发布时间: 20171124
...a.resource.Texture类 __proto.recoverBitmap=function(){ var _$this=this; var url=this._bitmap.url; if (!this._destroyed && (!this._bitmap || this._bitmap.destroyed)&& url){ Laya.loader.load(url,Handler.create(this,function...
来源: Laya_社区 发布时间: 20190311