大约有 1,155 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0058 秒)
Laya_社区(864) Laya3.0_api(80) Laya2.0_文档(72) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(35) laya_api(2) Laya2.0_api(2)
...• 2016-12-28 10:34 不行,编译时提醒报错,warning:QUnit.module This variable is not defined.我想使用QUnit这个框架,请给一个完整的示例项目好吗 charley • 2016-12-28 16:56 @15068753667:需要在引用LayaAir引擎库之前,先引用第三方JS库,再通过引擎提...
来源: Laya_社区 发布时间: 20161226
...xx)就是list.datasource[xxx]吧? weiyongwill • 2017-01-06 11:21 "this.sList.getItem(...).getChildByName is not a function" weiyongwill • 2017-01-06 14:39 经过测试在List.mouseHandler中点其他的元素都能通过e.target.name获取到名字,唯独textinput通过e.target.nam...
来源: Laya_社区 发布时间: 20170105
...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(n...
来源: Laya3.0_api 发布时间: 20231115
...stage.scaleMode = Stage.SCALE_FULL; Stat.show(); Laya.stage.on(Event.CLICK,this,clickFun); } private function clickFun():void { if( clip == null ){ clip = new Clip("1.png",6,6); Laya.stage.addChild(clip); clip.play(); }else{ clip.dispose(); clip = null; } } 2017-11-28 0 0 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20171128
..."; spr.addChild(te); Laya.stage.addChild(spr); Laya.stage.on(Event.CLICK, this, function():void { if (Laya.stage.screenMode == Stage.SCREEN_HORIZONTAL) { if (Browser.window.conchConfig) { Browser.window.conchConfig.setScreenOrientation(1); } Laya.stage.screenMode = Stage.SCREEN_VERTICAL; Laya.stage....
来源: Laya_社区 发布时间: 20170801
...sh(sp); Laya.stage.addChild(sp); } } initialize(); Laya.stage.on("click", this, function() { var sp; for(var i = 0, len = sprites.length; i < len; i++) { sp = sprites.pop(); Pool.recover(SPRITE_SIGN, sp); Laya...
来源: Laya_社区 发布时间: 20160729
...Laya.loader.load([buttonSkin, clipSkin, bgSkin], laya.utils.Handler.create(this, onSkinLoaded)); })(); function onSkinLoaded() { showBg(); createTimerAnimation(); showTotalSeconds(); createController(); } function showBg() { var bg = new Image(bgSkin); bg.size(224, 302); bg.pos(Laya.stage.width - bg...
来源: Laya2.0_文档 发布时间: 20210715
...3 人 yyqx1122 • 2018-04-17 10:51 代码如下: Laya.stage.on('click', this, function(){ console.log('click'); Laya.stage.mouseEnabled = false; }) 我给Laya.stage绑定了鼠标事件,然后我将Laya.stage.mouseEnabled手动设置为false,这个时候Laya.stage应该是不接收鼠标事...
来源: Laya_社区 发布时间: 20180416
... ret; } //粒子特效初始化 private Init(file_path:string): void { if (this._isInited) { return; } this._filePath = file_path; console.log("Particle3D"); //从拿到的粒子系统克隆一个 var res = Laya.loader.getRes(file_path); var particle = res.clone(); this._particle = particle; //获...
来源: Laya3.0_文档 发布时间: 20250214
... ret; } //粒子特效初始化 private Init(file_path:string): void { if (this._isInited) { return; } this._filePath = file_path; console.log("Particle3D"); //从拿到的粒子系统克隆一个 var res = Laya.loader.getRes(file_path); var particle = res.clone(); this._particle = particle; //获...
来源: Laya3.0_文档 发布时间: 20250104