• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 129 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)

91. 关闭指定定时器timer [ 55%]

...器还在继续调用回调,并没有报错。this.StartToRound.on(Laya.Event.CLICK,null,function(){ Laya.timer.loop(10,this,round);//10ms 一秒100次 }); //转动逻辑 function round(){ tlate.rotation+=roundTurnChange(1); console.log(tlate.rotation); } //转动变量变化 function roundTurnCha...

来源: Laya_社区 发布时间: 20160718

92. 二进制图片(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 54%]

...代码如下: ```java package { import laya.display.Sprite; import laya.events.Event; import laya.net.HttpRequest; import laya.utils.Browser; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var sp:Sprite = new Sprite(); var xhr:HttpRequest = new Htt...

来源: Laya2.0_文档 发布时间: 20210714

93. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 54%]

...; a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指...

来源: Laya_社区 发布时间: 20161109

94. 2.0 beta UI Button无法获取 [ 54%]

...imationClip呢? 关于发布oppo、vivo快游戏,无法生成Rpk问题 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 怎样获取浏览器地址传过来的GET参数 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 如何获取图片每个像素点的RGB? [...

来源: Laya_社区 发布时间: 20180926

95. 报无法找到资源,未升级ide之前不报错 [ 53%]

...ot;./Scenes/Index.ls"); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } 逸辰 • 2023-07-19 22:53 从启动页进来的,也加载了呀 layabox • 2023-07-26 20:47 @逸辰:请提交可重现Demo,

来源: Laya_社区 发布时间: 20230713

96. runTime使用(JavaScript-IDE篇(JS)-组件化开发相关) [ 53%]

...; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Laya.Event.MOUSE_DOWN,this,this.scaleSmall); //添加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Laya.Event.MOUSE_UP,this, this.scaleBig); //添加鼠标离开事件侦听。离开时还原按钮。 this.on(Laya.Ev...

来源: Laya2.0_文档 发布时间: 20210715

97. laya.ui.AsynDialog [ 53%]

... Classes | Index | Frames No Frames AsynDialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class AsynDialogInheritanceAsynDialog Dialog View Box Component Sprite Node EventDispatcher Object 异步Dialog的生命周期:show或者popup > onCreate(如果没有创建过...

来源: laya_api 发布时间: 20170929

98. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...逻辑处理。 2.1 支持的事件类型 LayaAir中的HttpRequest继承自EventDispatcher,因此支持多种事件类型,用于HTTP请求后的响应逻辑,常用的事件有: Event.PROGRESS:用于跟踪 HTTP 请求的上传和下载进度,例如文件下载时,值为1时表示已完...

来源: Laya3.0_文档 发布时间: 20251010

99. laya.ui.Tree [ 51%]

...| All Classes | Index | Frames No Frames TreeProperties | Methods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box Component Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hi...

来源: laya_api 发布时间: 20170929

100. laya.display.Scene_API3.0 [ 51%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex...

来源: Laya3.0_api 发布时间: 20231115