大约有 1,144 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0076 秒)
Laya_社区(859) Laya3.0_api(80) Laya2.0_文档(72) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(29) laya_api(2) Laya2.0_api(2)
...拉列表 真的,真是服LAYA,哎,搞了我一晚上,真心不行 this.small_map.selectHandler = new Laya.Handler(this, onSelect_small); this.big_map.selectHandler = new Laya.Handler(this, onSelect_big); function onSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.te...
来源: Laya_社区 发布时间: 20180719
...usic/Music_start.mp3", Laya.Handler.create(this, this.onLoadFinished)); } onLoadFinished() { Laya.SoundManager.playMusic("res/music/Music_start.mp3", 1); } } new GameMain(); -------------------------------------------------------...
来源: Laya_社区 发布时间: 20170105
...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function Uncaught TypeError: tex.once is not a function 在做微信小游戏排行榜提示wx.getFileSystemManager is not a fun...
来源: Laya_社区 发布时间: 20190426
...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
使用bind移除事件报错 在侦听事件中添加了bind,如下: this.parent["timer1"].addEventListener(TimerEvent.TIMER,bind(this,this.timer))? 2015-11-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 c...
来源: Laya_社区 发布时间: 20151110
...clone2.layer = 3; layaMonkey_clone3.layer = 4; ...... //移除所有图层 this.camera.removeAllLayers(); //添加显示图层(为相机添加一个蒙版) this.camera.addLayer(5); //显示用计数 this.layerIndex = 0 //给 ‘切换图层’ 按钮添加事件 每一次点击切换一个显示层 ...
来源: Laya2.0_文档 发布时间: 20210715
... Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "第{n=1}页"; //显示文本的初始化内容 } onStart(): void { let page: number = 1; Laya.timer.frameLoop(10, this, () => { page += 1; //在定时器中让变量page每次自增1 this.txt.setVar("n", p...
来源: Laya3.0_文档 发布时间: 20230830
...clone2.layer = 3; layaMonkey_clone3.layer = 4; ...... //移除所有图层 this.camera.removeAllLayers(); //添加显示图层(为相机添加一个蒙版) this.camera.addLayer(5); //显示用计数 this.layerIndex = 0 //给 ‘切换图层’ 按钮添加事件 每一次点击切换一个显示层 ...
来源: Laya2.0_文档 发布时间: 20210715
...多少? 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
...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