大约有 1,210 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0056 秒)
Laya_社区(903) Laya3.0_api(80) Laya2.0_文档(78) Laya_示例(64) Laya2.0_示例(51) Laya3.0_文档(30) laya_api(2) Laya2.0_api(2)
... duration, Ease[list.selectedItem]); } createDurationCrontroller() { const Event = Laya.Event; let durationInput = this.createInputWidthLabel("Duration:", '2000', 400, 10); durationInput.on(Event.INPUT, this, function() { duration = parseInt(durationInput.text); }); } createInputWidthLabel(label, pr...
来源: Laya2.0_示例 发布时间: 20241002
...button/button_window_public_space_enter.png"; this.btnEnter.on( Laya.Event.CLICK, this, this.btnClick ); this.width = 1553; this.height = 270; } public set publicSpaceData ( publicSpaceInfoData:any ) { this._publicSpaceData = publicSpaceInfoData; console.log...
来源: Laya_社区 发布时间: 20170923
...= this._objectInfo.templateInfo.height; this.addChild(this._body); this.on(Event.MOUSE_OVER, this, this.__onMouseOverHole); this.on(Event.MOUSE_OUT, this, this.__onMouseOutHole); } this.pos(this._objectInfo.templateInfo.x, this._objectInfo.templateInfo.y); } private __onMouseOverHole(event:Event):vo...
来源: Laya_社区 发布时间: 20180308
...; }; var tSkBuffer=Loader.getRes(this._skBufferUrl); if (!tSkBuffer){ this.event(/*laya.events.Event.ERROR*/"error","load failed:"+this._skBufferUrl); return; } //MODIFIED:使用formatPath进行路径过滤 this._path=this.formatPath(this._skBufferUrl.slice(0,this._skBufferUrl.lastIndexOf("/"))+"/")...
来源: Laya_社区 发布时间: 20190419
...is.downMouseY = 0 Laya.loader.load(['bg/world_bg.jpg']) Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.mouseDown) Laya.stage.on(Laya.Event.MOUSE_UP,this,this.mouseUp) this.moveMap(this.offsetX,this.offsetY) } moveMap(x,y){ let X = -x00 let Y = -y00 this.map0.x = X this.map0.y = Y this.map3.x = X + 18...
来源: Laya_社区 发布时间: 20181220
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Event = Laya.Event; var Socket = Laya.Socket; var Byte = Laya.Byte; var socket; var output; (function() { Laya.init(550, 400); connect(); })(); function connect() { socket = new Socket(); //socket.connect("echo.websocket.org", ...
来源: Laya_示例 发布时间: 20241002
...死wenti if(Browser.onVVMiniGame) {// _http = new HttpRequest(); _http.on(Event.PROGRESS, this, onProgress); _http.on(Event.ERROR, this, onError); _http.on(Event.COMPLETE, this, onLoaded); ////////////////////////////////////////////////////// } else { //...... } 已解决。 2020-11-23 0 0 分享 ...
来源: Laya_社区 发布时间: 20201123
...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...
来源: Laya_社区 发布时间: 20170714
...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...
来源: Laya_社区 发布时间: 20190224
...a.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.once(Event.PROGRESS,this,processHandler); var sendData = {account:"aaa",password:"bbb"} xhr.send("http://xxx/login", JSON.stringify(sendData...
来源: Laya_社区 发布时间: 20180824