大约有 2,539 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0081 秒)
Laya_社区(1916) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...yName' of undefined at RigidAnimations.__proto._init (laya.d3.js:27913) at EventHandler.__proto.runWith (laya.core.js:674) at AnimationTemplet.__proto.event (laya.core.js:458) at AnimationTemplet.__proto._endLoaded (laya.ani.js:3154) at AnimationTemplet.__proto.onAsynLoaded (laya.ani.js:3186) at Res...
来源: Laya_社区 发布时间: 20170922
...tp = new Laya.HttpRequest(); //new一个HttpRequest类 this.http.once(Laya.Event.PROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传...
来源: Laya_社区 发布时间: 20180315
....Sprite3D; //this.sceneP.transform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3, 3); this.sceneP.transform.localPosition = new Vector3(100, 100, 100); }); 2018-03-27 添加评...
来源: Laya_社区 发布时间: 20180327
...用animation播放问题 this._load = new Laya.Loader() this._load.on(Laya.Event.ERROR, this, this.onError); this._load.on(Laya.Event.COMPLETE, this, this.loadComplete); this._load.load(this._data.url, Laya.Loader.ATLAS, true); 加载完成后 this._ani = new Animation(); this._ani.loadImages(这里...
来源: Laya_社区 发布时间: 20171212
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...cheight:"+mc.height); // mc.on(Event.LOADED,this,onComp); // mc.on(Event.COMPLETE,this,onEnd); // mc.x = (Laya.stage.width ) / 2; // mc.y = (Laya.stage.height) / 2; Laya.stage...
来源: Laya_社区 发布时间: 20170804
...Classes | Index | Frames No Frames LightSpriteProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLight LightSprite 类用于创建...
来源: laya_api 发布时间: 20170929
...; a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void { console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指...
来源: Laya_社区 发布时间: 20161109
...114367261 赞同来自: mouse_down mous_move mouse_up 你可以查看一下event的api文档 http://layaair.ldc.layabox.com ... Event 2018-04-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Prajna 相关问题 【屏幕适配】在Laya...
来源: Laya_社区 发布时间: 20180416
...为复现工程,具体代码在GameUiTest.js this.imaAudioLocal.on(Laya.Event.CLICK, this, ()=>{ let resUrl = "res/audio/sound_click.wav"; Laya.SoundManager.playSound(resUrl, 1); }); this.imaAudioNet.on(Laya.Event.CLICK, this, ()=>{ let resUrl = "https://具体地址见工程代码/h5/gun_...
来源: Laya_社区 发布时间: 20200225