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

大约有 137 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0049 秒)

111. 基础文本 · LayaAir3.0文档 · LAYABOX [ 52%]

...on(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.finishScrollText); } /* 停止滚动文本 */ finishScrollText() { Laya.stage.off(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.off(Laya.Event.MOUSE_UP, this, this.finishScrollText); } /* 鼠...

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

112. runTime使用(JavaScript-IDE篇(JS)-组件化开发相关) [ 52%]

...加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Laya.Event.MOUSE_UP,this, this.scaleBig); //添加鼠标离开事件侦听。离开时还原按钮。 this.on(Laya.Event.MOUSE_OUT,this, this.scaleBig); } scaleBig() { //变大还原的缓动效果 Laya.Tween.to(this,{scaleX:1,scaleY:1},...

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

113. 2.x引擎项目升级指南 · LayaAir3.0文档 · LAYABOX [ 51%]

....3 新增 MOUSE_DRAG和MOUSE_DRAG_END3.4 删除了RIGHT_MOUSE_DOWN和RIGHT_MOUSE_UP3.5 事件汇总4、LayaAir3.0 组件系统修改5、Runtime的使用差异6、2D动画2.0引擎开发者使用3.0的差异汇总 Author:谷主 && Charley [!Note] 本篇文档仅适用3.0以前的旧版引...

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

114. 微信小游戏声音,使用playsound播放音效问题 [ 50%]

...会啊!我测试了一下并没有你说的问题! this.stage.on(Event.MOUSE_UP, this, onB); private function onB():void          {             Laya.SoundManager.playSound("res/sound/onClick.wav");         } 你看看是不是你的代码逻辑有问题那? 2018-05-03 0 2...

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

115. 寻路系统(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 49%]

...路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex...

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

116. 寻路系统(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 49%]

...路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex...

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

117. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 49%]

...加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Laya.Event.MOUSE_UP,this, this.scaleBig); //添加鼠标离开事件侦听。离开时还原按钮。 this.on(Laya.Event.MOUSE_OUT,this, this.scaleBig); } private scaleBig():void { //变大还原的缓动效果 Laya.Tween.to(this, {scale...

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

118. 寻路系统(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 48%]

...界的路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Event.MOUSE_UP, this, function():void { index = 0; //获取每次生成路径 getGridIndex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCount].x,path[nex...

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

119. laya.ui.Button [ 48%]

...id 对象的 Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UPEvent.CLICK 事件侦听处理函数。 Button preinitialize():void 预初始化。 Component resetLayoutX():void 重置对象的 X 轴(水平方向)布局。 Component resetLayoutY():void 重置对象的 Y ...

来源: laya_api 发布时间: 20170929

120. laya.ui.Button [ 47%]

...id 对象的 Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UPEvent.CLICK 事件侦听处理函数。 Button preinitialize():void 预初始化。 UIComponentEvents Hide Inherited Events Show Inherited EventEvent Summary Defined By added添加到父对象后调度。Node...

来源: Laya2.0_api 发布时间: 20190513