大约有 1,240 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0072 秒)
Laya_社区(920) Laya3.0_api(80) Laya2.0_文档(78) Laya_示例(64) Laya2.0_示例(51) Laya3.0_文档(43) laya_api(2) Laya2.0_api(2)
...ildAt addChildren addComponent addComponentInstance addLine addLines bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents getLine hasHideFlag hasListener isAncestorOf off offAll offA...
来源: Laya3.0_api 发布时间: 20231115
...dChild(this.hero); // 监听舞台的鼠标移动事件 Laya.stage.on(Laya.Event.MOUSE_MOVE,this,onMouseMove); // 手动创建敌人 // createEnemy(10); // 定时器自动循环创建敌人 Laya.timer.frameLoop(1,this,onLoop); } function onLoop() { // 遍历所有飞机,更改飞机状态 for(var ...
来源: Laya_社区 发布时间: 20170525
...ldAt(sp, 0); Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT; sp.addEventListener(TouchEvent.TOUCH_BEGIN, onTouchBegin); } protected function onTouchBegin(event:TouchEvent):void { log(event.touchPointID.toString()); } cuixueying • 2016-01-23 11:17 你的demo在原生浏览器下是可以正...
来源: Laya_社区 发布时间: 20160122
...gory=3d&group=Resource&name=GarbageCollection)) ```typescript function(e:Event) { this._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_s...
来源: Laya2.0_文档 发布时间: 20210715
...名btn1,但不知道怎么调用,强行在Main.js里面写入 btn1.on(Event.CLICK, this, onBtnClick); function onBtnClick() { alert('222'); } btn1 is not defined 按教程写脚本,实在找不到地方写,请问有没有类似教程呢。 问题3)我在Scenes 新建了2个view,一个是...
来源: Laya_社区 发布时间: 20181027
...?什么情况? 资源加载后的 回调 layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 问题状态 最新活动: 2017-06-23 11:57 浏览: 1683 关注: 2 人 wwxinqq • 2017-06-22 18:16 我重新编辑了问题。在开始我加了问题重现的说明...
来源: Laya_社区 发布时间: 20170622
...Children addCommandBuffer addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAn...
来源: Laya3.0_api 发布时间: 20231115
...ckage { import laya.display.Sprite; import laya.display.Stage; import laya.events.Event; import laya.map.GridSprite; import laya.map.MapLayer; import laya.map.TileAniSprite; import laya.map.TileTexSet; import laya.map.TiledMap; import laya.maths.Rectangle; import laya.net.Loader; import laya.utils.H...
来源: Laya_社区 发布时间: 20170105
...mainSound:Laya.SoundChannel = null; this.btn_sound.on(Laya.Event.CLICK,this,function(){ dreamsSound = null; if(mainSound == null){ Laya.loader.load("res/main.mp3",Laya.Handler.create(this,function(){ ...
来源: Laya_社区 发布时间: 20190716
...st滑动条会引起单元格上的按钮点击后多次触发点击事件 event自定义事件的问题 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 一个时间轴动画里创建的多个动画,怎么分别调用?如图 点击事件不起效 问题状态 最新活...
来源: Laya_社区 发布时间: 20180510