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

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

401. 使用bind移除事件报错 [ 72%]

使用bind移除事件报错 在侦听事件中添加了bind,如下: this.parent["timer1"].addEventListener(TimerEvent.TIMER,bind(this,this.timer))? 2015-11-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 c...

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

402. TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 72%]

...y' of null alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] 问题状态 最新活动: 2018-03-09 16:34 浏览: 1564 关注: 3 人 stephen • 2018-03-06 09:12 应该不可能啊,这是官方实例。 stephen • 2018-03-05 12:03 版本是1.7.15...

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

403. 可视遮罩层Layer(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 72%]

...clone2.layer = 3; layaMonkey_clone3.layer = 4; ...... //移除所有图层 this.camera.removeAllLayers(); //添加显示图层(为相机添加一个蒙版) this.camera.addLayer(5); //显示用计数 this.layerIndex = 0 //给 ‘切换图层’ 按钮添加事件 每一次点击切换一个显示层 ...

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

404. 可视遮罩层Layer(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 72%]

...clone2.layer = 3; layaMonkey_clone3.layer = 4; ...... //移除所有图层 this.camera.removeAllLayers(); //添加显示图层(为相机添加一个蒙版) this.camera.addLayer(5); //显示用计数 this.layerIndex = 0 //给 ‘切换图层’ 按钮添加事件 每一次点击切换一个显示层 ...

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

405. TextInput 在panle里滚动后输入位置错乱,求解 [ 72%]

...多少? 2018-06-25 0 6 分享 微博 QZONE 微信 水晶 赞同来自: this.input.on(Laya.Event.FOCUS,this,()=>{ this.board.scrollPane.touchEffect = false; }) this.input.on(Laya.Event.BLUR,this,()=>{ this.board.scrollPane.touchEffect = true; }) 2019-03-18 0 0 分享 微博 QZONE 微信 为...

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

406. [LayaAir3]list.selectHandler [ 72%]

...选择的索引:" + index);         let checkBoxItem:Laya.CheckBox = this._list.getChildAt(index).getChildAt(0) as Laya.CheckBox;         if(checkBoxItem!=null){                         switch(checkBoxItem.name.trim()){                 case "0":{                ...

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

407. Button 添加事件不执行? [ 72%]

...lStroke = 10; rightBtn.x = 100; rightBtn.y = 200; rightBtn.on(Event.CLICK, this, clickHandler); rightBtn.clickHandler = Handler.create(this, function () { console.log('click handler'); }); function clickHandler () { console.log('on click') } Stage.addChild(rightBtn);  请问一下,为什么事件...

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

408. args.slice is not a function [ 72%]

...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function...

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

409. Clip组件Bug:Play方法无法结束循环 [ 72%]

...s);         if (interval != void 0) {             this.interval = interval;         }          this.on(Laya.Event.COMPLETE, this, () => {             this.destroy();         });         this.frameIndex = 0;       ...

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

410. 同步龙骨插槽动画方案 [ 72%]

...ring, handler: Laya.Handler, aniMode: number = 0) {         this._handler = handler;         this.mFactory = new Laya.Templet();         this.mFactory.on(Laya.Event.COMPLETE, thisthis.parseComplete, [aniMode]);         this.mFactory.loadAni(url);   ...

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