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

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

111. TextInput 监听事件 Laya.Event.INPUT 事件在IOS 环境下没动作 [ 68%]

TextInput 监听事件 Laya.Event.INPUT 事件在IOS 环境下没动作 TextInput 监听事件 Laya.Event.INPUT 事件在IOS 环境下没动作 附件 : --> 2022-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回...

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

112. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 68%]

...veControl);  //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK, this, this.onTipClick); //this._loveControl.startGame();  //点击重置按钮,重新开始 this.button_reset.on(Laya.Event.CLICK, this, this.onClickReset);  let partPath = "res/aixin_bao.part"; Laya.loader.l...

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

113. Image.loadImage 方法加载问题 [ 67%]

...button/button_window_public_space_enter.png";    this.btnEnter.on( Laya.Event.CLICK, this, this.btnClick );    this.width = 1553;    this.height = 270;   }   public set publicSpaceData ( publicSpaceInfoData:any )   {    this._publicSpaceData = publicSpaceInfoData;    console.log...

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

114. Box绑定事件失效 [ 67%]

...件没反应 遮罩点击事件 图片添加点击事件 有的不生效 event自定义事件的问题 微信小游戏与加载图片时不会触发erroe事件 重力感应 Accelerator 发布微信游戏后失效。是因为什么? 问题状态 最新活动: 2017-11-18 13:07 浏览: 884 关注: 2 ...

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

115. list ,增加item ,我想在末尾增加,但是每次都给我翻倍的增加,如何解决 [ 67%]

..._jiesan.png"); button.pos(300, 0); this.roombg.addChild(button); button.on(Event.MOUSE_DOWN, this, function (e) { list.addItem(1); }); function Item() { Item.__super.call(this); this.size(416, 270); this.text = new Text(); this.text.fontSize = 20; this.text.pos(12, 5); this.text.color = "#FF00FF"; t...

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

116. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 67%]

... else { this._forgetMode(); } // 添加取消事件 this.lb_cancel.on(Laya.Event.CLICK, this, () => { // 返回登陆页 Laya.Scene.open("Auth.scene"); }); // 遍历数组添加事件 this._arrInput.forEach((element, index) => { element.on(Laya.Event.FOCUS, this, this._onInputEvent, [element, ...

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

117. 改变位置后,点击区域不生效了 [ 67%]

...点击区域不生效了 package { import laya.display.Sprite; import laya.events.Event; import laya.renders.Render; public class MoveTest { public function MoveTest() { Laya.init(600,600); var sp:Sprite = new Sprite(); sp.autoSize=true; sp.graphics.drawRect(0,0,100,100,"#ff0000"); sp.on(Event.CLICK...

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

118. LAYAAIR加载SWF无线循环 [ 67%]

...cheight:"+mc.height);                      //  mc.on(Event.LOADED,this,onComp);         //  mc.on(Event.COMPLETE,this,onEnd);         //  mc.x = (Laya.stage.width ) / 2;         //  mc.y = (Laya.stage.height) / 2;             Laya.stage...

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

119. 新手引导在ios浏览器表现异常 [ 67%]

...ode = Laya.Stage.SCREEN_NONE;             Laya.stage.on(Laya.Event.RESIZE, this, this.windowResized);         }         windowResized(){             let sp = new Laya.Sprite();             sp.graphics.drawRect(0,0,Laya.stage.width,Laya.stag...

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

120. Dialog中编辑的动画如何控制? [ 67%]

...链接 提交 1 个回复 cuixueying 赞同来自: function TestUI() { var Event = laya.events.Event; TestUI.super(this); this.ani1.play(15);//play的第一个参数是从第几帧开始播放 Laya.stage.on(Laya.Event.CLICK,this,onClick); } Laya.class(TestUI, "TestUI", TestPageUI); function onClick(...

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