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

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

141. 2D物理-碰撞过滤器 [ 48%]

...var mouseJoint: MouseJoint = this.curTarget.addComponent(MouseJoint); Laya.timer.callLater(mouseJoint, mouseJoint.onMouseDown); Laya.stage.on(Event.MOUSE_UP, this, this.destoryJoint); Laya.stage.on(Event.MOUSE_OUT, this, this.destoryJoint); // 方案二,自己实现,可以实现更大程度的...

来源: Laya2.0_示例 发布时间: 20251130

142. laya.spine.SpineSkeleton_API3.0 [ 48%]

...e scrollRect skewX skewY skinName source stage staticCache templet texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addAnimation addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender de...

来源: Laya3.0_api 发布时间: 20231115

143. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 47%]

...通过Tween来执行角色位置改变的 //开启定时重复执行 Laya.timer.loop(40, this, this.loopfun); private loopfun(): void { //resPath,角色需要移动的每个世界坐标位置数组 if (this.resPath && this.index < this.resPathLength) { //AStar寻路位置 this._position...

来源: Laya3.0_文档 发布时间: 20230303

144. 飞机大战js源码中判断语句问题 [ 47%]

...理函数,用于背景位置的更新,实现背景滚动效果。 Laya.timer.frameLoop(1, this, onLoop); })() /** * 在onLoop函数内,更新box容器的位置。 */ function onLoop() { //设置背景容器由上向下移动 1px box.y += 1; //当背景1向下移动出游戏的显示区域 480*...

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

145. laya.media.SoundNode_API3.0 [ 46%]

...e scrollRect skewX skewY source stage staticCache stopEvent target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroy...

来源: Laya3.0_api 发布时间: 20231115

146. laya.display.FrameAnimation_API3.0 [ 45%]

...ation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender ...

来源: Laya3.0_api 发布时间: 20231115

147. laya.display.EffectAnimation_API3.0 [ 45%]

...caleX scaleY scene scrollRect skewX skewY stage staticCache target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender ...

来源: Laya3.0_api 发布时间: 20231115

148. 求ShuriKenParticle3D用法 [ 45%]

...           let self = this;                 Laya.timer.loop(300, null, function () {                     console.log('8: ' + self.particleSystem.aliveParticleCount);                 });             }         }     } } ...

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

149. laya.ani.bone.Skeleton_API3.0 [ 44%]

...e scrollRect skewX skewY skinName source stage staticCache templet texture timer total transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy d...

来源: Laya3.0_api 发布时间: 20231115

150. 同一类型光源互斥的问题报告 [ 44%]

...=true; //为box模型赋材质 plane.meshRender.material = material2; Laya.timer.loop(10, this, loopfun); function loopfun() { if(!camera || !box){ return; } camera.transform.lookAt(box.transform.position, new Laya.Vector3(0, 1, 0), false); } })(); 纹理图片:     附件 : --> 2018-01-03 添...

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