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

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

51. laya.ui.UIEvent [ 85%]

...DocumentationAll Packages | All Classes | Index | Frames No Frames UIEventProperties | Methods | Constants Packagelaya.uiClasspublic class UIEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inhe...

来源: laya_api 发布时间: 20170929

52. dialog的popup方法不会关闭其他弹窗 [ 84%]

...alDialog: NormalDialog; constructor() { super();  this.btn_signin.on(Laya.Event.CLICK, null, () => { this.showDialog("登录成功") }); this.btn_register.on(Laya.Event.CLICK, null, () => { this.showDialog("注册功能暂未开放") });  }  showDialog(context: string) { // if (this.normalD...

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

53. import Event = laya.events.Event; 报错 [ 83%]

import Event = laya.events.Event; 报错 import Event = laya.events.Event; 报错 file: 'file:///e%3A/Web/GameA/client/src/GameMain.ts' severity: '错误' message: 'Import declaration conflicts with local declaration of 'Event'' at: '5,1' source: 'ts' 项目中没有其他地方写这个import, 但...

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

54. 开放域中Sprite click 事件穿透到主域中 [ 82%]

...具打开报错 微信小游戏利用开放域好友关系链做排行榜 event自定义事件的问题 问题状态 最新活动: 2019-11-22 13:48 浏览: 1000 关注: 1 人

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

55. 鼠标交互-自定义事件 [ 81%]

...效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var Ease = Laya.Ease; var Tween = Laya.Tween; var WebGL = Laya.WebGL; var ROTATE = "rotate"; var sp; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.cli...

来源: Laya_示例 发布时间: 20251130

56. 求教Event.KEY_DOWN和Event.MOUSE_DOWN调用window.open相关问题 [ 81%]

求教Event.KEY_DOWN和Event.MOUSE_DOWN调用window.open相关问题 点击的调用函数: private function OnDown(e:Event):void { Browser.window.open("http://baidu.com"); } Laya.stage.on(Event.KEY_DOWN, this, OnDown);//正常 Laya.stage.on(Event.MOUSE_DOWN, this, OnDown);//被拦截 La...

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

57. 注册函数里面 事件侦听函数的执行域 的详解 [ 81%]

注册函数里面 事件侦听函数的执行域 的详解 sp.on(Event.CLICK, this, fun) 有时候是this,有时候是null 到底怎么区分这个 2016-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...

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

58. 鼠标交互-自定义事件 [ 81%]

...项目开发更高效。const ROTATE = "rotate"; class Interaction_CustomEvent { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeig...

来源: Laya2.0_示例 发布时间: 20251130

59. 按钮失效,同UI里的一个图片超链接点击后再返回,出现按钮失效。 [ 81%]

...Right.bottom+100; }  //事件注册 //开始游戏 this.StartLeft.on(Laya.Event.CLICK,null,function(){ //TO GamePage2 console.log("left onclick"); Laya.stage.addChild(new GameView); });  //分享快乐 this.StartRight.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(href); });  //天猫Log...

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

60. laya.sprite 不接受click事件 [ 80%]

...能触发onCollisionEnter事件 遮罩点击事件 点击事件不起效 event自定义事件的问题 问题状态 最新活动: 2020-08-07 17:31 浏览: 281 关注: 2 人

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