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

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

81. [LayaAirIDE3]2d相机打包后问题 [ 46%]

... const owner = this.owner as Laya.Sprite;         owner.on(Laya.Event.MOUSE_DOWN, this, this.onTouchStart);         Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.onTouchMove);         Laya.stage.on(Laya.Event.MOUSE_UP, this, this.onTouchEnd);         Laya.stage.on(Laya.Event.MOUSE_...

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

82. 2.x引擎项目升级说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...3D正确遮挡。3.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_文档 发布时间: 20251010

83. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...derColor = "#fa1515"; this.txt.overflow = "scroll"; this.txt.on(Laya.Event.MOUSE_DOWN, this, this.startScrollText); } /* 开始滚动文本 */ startScrollText() { prevX = this.txt.mouseX; prevY = this.txt.mouseY; Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.on(Laya.Event.M...

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

84. laya.ui.Button [ 41%]

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

来源: laya_api 发布时间: 20170929

85. laya.ui.Button [ 41%]

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

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

86. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 39%]

...his.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人物是否踩在地板上面了 for(var i = this.mapFloor.numChildr...

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

87. 3D中摄像机绕物体旋转该如何实现? [ 39%]

...istance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpdate():...

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

88. 官方案例里摄像机绕物体旋转脚本的问题 [ 39%]

...istance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpdate():...

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

89. 【简单跑酷--JS版】---Lv.6 终篇 [ 38%]

...his.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); Laya.stage.on(laya.events.Event.MOUSE_UP, this, this.onMouseUp); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人...

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

90. TiledMap地图 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

...aya.stage.on(Laya.Event.RESIZE,this,this.resize); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.resize(); } //地图加载完成的回调 private completeHandler(e: any = null): void { this.onLoaded(); } /** * 移动地图视...

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