大约有 2,538 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0079 秒)
Laya_社区(1915) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...可以捕获大部分按键 但tab键是无法捕获的! userName_txt.on(Event.KEY_PRESS,this,tabNext,[userName_txt]); private function tabNext(e:Event,target:Node):void { if(e.keyCode == Keyboard.TAB) { //无法触发 焦点直接直接到浏览器外去了(浏...
来源: Laya_社区 发布时间: 20180926
... } private function onSelect(cardList:List, evt:Event, index:int):void { var cell:Box = cardList.getCell(index); if(cell){ if(evt.type == Event.CLICK){ // ...
来源: Laya_社区 发布时间: 20170310
...看看怎么回事? VM168:1 gameThirdScriptError Cannot read property 'events' of undefined TypeError: Cannot read property 'events' of undefined at Function.EventDispatcher.__init$ (http://127.0.0.1:35024/game/code.js:634:29) at http://127.0.0.1:35024/game/code.js:14:71 at Array.forEach (<anon...
来源: Laya_社区 发布时间: 20180801
...s | Index | Frames No Frames PixelLineSprite3DProperties | Methods | Events Packagelaya.d3.core.pixelLineClasspublic class PixelLineSprite3DInheritancePixelLineSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object PixelLineSprite3D 类用于像素线渲染精灵。 Public Propertie...
来源: Laya2.0_api 发布时间: 20190513
...js:32262) at Loader._onHierarchylhLoaded (laya.d3.js:32277) at EventHandler.runWith (laya.core.js:1000) at Loader.event (laya.core.js:1039) at Loader.complete (laya.core.js:18862) at Loader.onLoaded (laya.core.js:18818) at EventHandler.runWith (laya.core.js:998) ...
来源: Laya_社区 发布时间: 20201029
...is.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete, [aniMode]); this.mFactory.loadAni(url); } private parseComplete(aniMode: number, fac: Laya.Templet): void { this.mArmature ...
来源: Laya_社区 发布时间: 20200618
...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 发布时间: 20231102
...Sprite3D).transform.position) } onStart(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDownCb) } private onMouseDownCb(e:Laya.Event):void{ console.log("点击屏幕") // console.log("相机位置",this.camera.) this.camera.viewportPointToRay(new Laya.Vector2(Laya.stage.mouseX,L...
来源: Laya_社区 发布时间: 20190621
...ageName) { this.imag= img; this.imageName=tempImageName; this.imag.on(Laya.Event.MOUSE_UP, this, this.hit); //this.img.on(Laya.Event.) } var _proto = Poker.prototype; _proto.show = function () { this.imag.y = 50; } _proto.hit = function () { if ( this.imag.y == 50) { this.imag.y = 150; } else if(thi...
来源: Laya_社区 发布时间: 20180130
...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