大约有 2,497 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0081 秒)
Laya_社区(1888) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(32)
...{ console.log(this.moveKey, this.layer, this.moveMax) this.moveKey.on(Laya.Event.MOUSE_DOWN, this, this.downFun); //记录一开始小圆点的位置,方便鼠标弹起的时候自动返回开始位置 this.moveKey.mode = {x: this.moveKey.x, y: this.moveKey.y} } //按下事件 ModeKey.prototype.do...
来源: Laya_社区 发布时间: 20171030
...代码来添加保护:var data:*; data=Loader.getRes(_url); if (!data) { event(Event.ERROR,"file not find"); return; } //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----en...
来源: Laya_社区 发布时间: 20180908
...种开发语言、LayaAirIDE让项目开发更高效。Stage = Laya.Stage; Event = Laya.Event; Box = Laya.Box; List = Laya.List; Handler = Laya.Handler; WebGL = Laya.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextA...
来源: Laya2.0_示例 发布时间: 20241118
...emoveReference _setCPUMemory _setCreateURL _setGPUMemory clear destroy end event getData getIsReady gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once restore start destroyUnusedResources popRT pushRT Constructors constructor new RenderTexture2D(width: number, height: numb...
来源: Laya3.0_api 发布时间: 20231115
... var req = new laya.net.HttpRequest(); req.on(laya.events.Event.COMPLETE, this, cb_onSuccess); req.on(laya.events.Event.ERROR, this, cb_onFail); req.send(url); } // 下载jpg图片成功后,显示在舞台上,response为 bmp图片...
来源: Laya_社区 发布时间: 20170103
... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new RenderTextureCube(size: number, c...
来源: Laya3.0_api 发布时间: 20231102
...ference _setCPUMemory _setCreateURL _setGPUMemory _start clear destroy end event getData getIsReady gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recycle restore start destroyUnusedResources popRT pushRT Constructors constructor new NativeRenderTexture2D(width: number...
来源: Laya3.0_api 发布时间: 20231115
...= 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
...l Classes | Index | Frames No Frames TextInputProperties | Methods | Events Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label UIComponent Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties ...
来源: Laya2.0_api 发布时间: 20190513
...代码来添加保护:var data:*; data=Loader.getRes(_url); if (!data) { event(Event.ERROR,"file not find"); return; } //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----en...
来源: Laya_社区 发布时间: 20180908