大约有 1,215 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)
Laya_社区(675) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(63) Laya2.0_示例(44) Laya_示例(42) Laya3.0_文档(38)
...容相关的链接 提交 4 个回复 ymsdandan 赞同来自: 监听一下Event.BLUR和Event.FOCUS试试吧,(格式Laya.stage.on(Event.BLUR)) 2017-11-08 0 0 分享 微博 QZONE 微信 yllczjh 赞同来自: 我得需求是鼠标光标默认在文本框上 ,加监听应该解决不了吧...
来源: Laya_社区 发布时间: 20171108
...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...
来源: Laya3.0_api 发布时间: 20231115
...例子我们本地查下package { import laya.display.Sprite; import laya.events.Event; import laya.net.Loader; import laya.utils.Stat; import laya.webgl.WebGL; public class HtmlDemo { private static var sp:Sprite; public function HtmlDemo() { Laya.init(800, 480,WebGL); Stat.show(); sp=new Sprite();...
来源: Laya_社区 发布时间: 20160905
... Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):voi...
来源: Laya2.0_api 发布时间: 20190513
...Scripts.Core { import laya.net.Socket; import laya.utils.Byte; import laya.events.Event; import Scripts.Core.MsgManger; import Scripts.Core.IHandler; import Scripts.Core.TipsManager; import laya.utils.Browser; /** * ... * @author */ public class Socketmanger{ private static var _I:Socketmanger; publ...
来源: Laya_社区 发布时间: 20170724
... factory = new Templet(); factory.on(Event.COMPLETE, this, onSkeletonDataParsed); // factory.on(Event.ERROR, this, onError); // factory.parseData(texture, data, 60); factory.loadAni("res/Dragon.sk"); ...
来源: Laya_社区 发布时间: 20160902
...w = function () { LoginView.super(this); this.btnReg.on(Laya.Event.CLICK, null, function () { console.log("on btReg event") }); } 目前编辑的代码辅助,好像还是无法获得父类的成员变量比如 btnReg。这是视频提到的一个ide的功能bug ...
来源: Laya_社区 发布时间: 20170317
...; //添加鼠标按下事件侦听。按时时缩小按钮。 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
...舞台 Laya.stage.addChild(tl); //播放Animation动画 tl.play(); tl.on(Event.COMPLETE, this, () => {console.log('end')}); } 2018-08-23 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zyx 相关问题 看了其他引擎才发现 LAYA ...
来源: Laya_社区 发布时间: 20180817
...0,Laya.WebGL); this.m_templet = new Laya.Templet(); this.m_templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.m_templet.on(Laya.Event.ERROR,this,this.onError); this.m_templet.loadAni("res/spine/goblins/goblins.sk"); } private onError():void { console.log("parse error"); } private parseC...
来源: Laya_社区 发布时间: 20180126