大约有 2,612 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1996) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(33)
...sion denied at ChildProcess.exithandler (child_process.js:223) at emitTwo (events.js:106) at ChildProcess.emit (events.js:191) at maybeClose (internal/child_process.js:885) at Socket.<anonymous> (internal/child_process.js:334) at emitOne (events.js:96) at Socket.emit (events.js:188) at Pipe._h...
来源: Laya_社区 发布时间: 20170829
...{ 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
...能,全部代码如下所示: ```typescript package game { import laya.events.Event; import laya.ui.Image; import laya.utils.Tween; /** *ImageRunTime逻辑类 * @author mengjia * */ public class ImageRunTime extends Image { //缩放时间100毫秒 public var scaleTime:int = 100; public function ...
来源: Laya2.0_文档 发布时间: 20210714
...后怎么判断它有没有完成加载并显示到舞台上呢 mainMC.on(Event.LOADED,this,stopMC); mainMC.on(Event.COMPLETE,this,stopMC);这俩货监听都不好用 附件 : --> 2016-12-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20161213
... 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_示例 发布时间: 20241124
...代码来添加保护: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
...ar Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var List = Laya.List; var Browser = Laya.Browser; var Ease = Laya.Ease; var Handler = Laya.Handler; var Tween = Laya.Tween; var WebGL = Laya.WebGL; var character; var duration = 2000; var tween; (function(...
来源: Laya_示例 发布时间: 20241124
... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new RenderTexture(width: number, heig...
来源: Laya3.0_api 发布时间: 20231102
...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
... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new Rende...
来源: Laya3.0_api 发布时间: 20231115