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

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

921. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 61%]

...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

922. 为什么会出现报错 ani not found:ufo1_down [ 61%]

...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

923. LayaBox如何多点触摸? [ 61%]

...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

924. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 61%]

...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

925. 刚刚接触2天layaair,有几个问题请教。 [ 61%]

...名btn1,但不知道怎么调用,强行在Main.js里面写入 btn1.on(Event.CLICK, this, onBtnClick); function onBtnClick() { alert('222'); } btn1 is not defined 按教程写脚本,实在找不到地方写,请问有没有类似教程呢。 问题3)我在Scenes 新建了2个view,一个是...

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

926. 执行回调函数时报is not a function [ 60%]

...?什么情况? 资源加载后的 回调 layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 问题状态 最新活动: 2017-06-23 11:57 浏览: 1683 关注: 2 人 wwxinqq • 2017-06-22 18:16 我重新编辑了问题。在开始我加了问题重现的说明...

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

927. laya.d3.core.Camera_API3.0 [ 60%]

...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

928. 有没有懂tiledmap地图的朋友帮忙看看问什么地图加载不出来 [ 60%]

...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

929. 背景音乐来回切换报错 [ 60%]

...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

930. 多个tween会影响其它精灵事件 [ 60%]

...st滑动条会引起单元格上的按钮点击后多次触发点击事件 event自定义事件的问题 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 一个时间轴动画里创建的多个动画,怎么分别调用?如图 点击事件不起效 问题状态 最新活...

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