大约有 2,666 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(2033) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(50)
...个按钮,confirm, cancel, 在InputTxtDialog 类里面cancel_btn.on(Event.CLICK, this, this.onCancel));没有反映,但是在调用InputTxtDialog的地方InputTxtDialog.cancel_btn.on(Event.CLICK, this, this.onCancel));是没有问题的,同样的代码,粘出来就行,在里面就不...
来源: Laya_社区 发布时间: 20180907
...undChannel = new SoundChannel(); SoundManager.addChannel(channel); _btn.on(Event.CLICK, this, soundClick); function soundClick(evt:Event){ alert("channel.isStoped:"+channel.isStoped); if (channel.isStoped){ channel.play(); }else{ channel.stop(); } } channel.isStoped输出是:undefined 2017-01-16 ...
来源: Laya_社区 发布时间: 20170116
...机按钮*/ private var m_btn_auto:Button; m_mc_trade.on(Event.CLICK,this,onBtnClick); m_btn_auto.on(Event.CLICK,this,onBtnClick); 我有设置了点击事件了,但在点击事件onBtnClick内console.log('s')没有打印出来。而挂机按钮的就可以打印得到。这是怎...
来源: Laya_社区 发布时间: 20170412
...问题 关于遍历产生的sprite的点击事件,急,大神帮看哈 event自定义事件的问题 点击事件不起效 遮罩点击事件 为什么给Sprite容器添加点击事件没反应 图片添加点击事件 有的不生效 鼠标滚轮滚动事件 问题状态 最新活动: 2018-05-18...
来源: Laya_社区 发布时间: 20180515
...1 个回复 Monica - 知识达人 赞同来自: 有错误的消息返回(Event.ERROR),没有超时的.... 2017-10-16 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 KGYGPS 相关问题 IOS系统内嵌H5游戏,退到后台,等几...
来源: Laya_社区 发布时间: 20171016
...码: (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var animation =Laya.Animation; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(600,300); Laya.stage.scaleMode = "showall"; Laya.stage.b...
来源: Laya_社区 发布时间: 20161230
...js:31462) at Loader._onHierarchylhLoaded (laya.d3.js:31477) at EventHandler.runWith (laya.core.js:999) at Loader.event (laya.core.js:1038) at Loader.complete (laya.core.js:18719) at Loader.onLoaded (laya.core.js:18675) at EventHandler.runWith (laya.core.js:997) ...
来源: Laya_社区 发布时间: 20200518
...stPrior = true; Laya.stage.focus = _mapSprite; let event = _mapSprite.on(Laya.Event.CLICK, this, () => { LogUtil.w("响应点击事件") }) } 尝试使用focus 好像也没有响应 请问大佬们能解答一下吗 附件 : --> 2022-...
来源: Laya_社区 发布时间: 20220929
...行的 求大神帮忙 let xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send("https://ask.layabox.com/static ... ot%3B, "", "get", "arraybuffer"); private completeHandler(data: ArrayBuffer) { //...
来源: Laya_社区 发布时间: 20181010
...All Classes | Index | Frames No Frames TerrainProperties | Methods | Events Packagelaya.d3.terrainClasspublic class TerrainInheritanceTerrain Sprite3D Node EventDispatcher Object Terrain 类用于创建地块。 Public Properties Hide Inherited Public Properties Show Inherited Public Properti...
来源: Laya2.0_api 发布时间: 20190513