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

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

1. laya.events.Event_API3.0 [ 100%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/Event" Event Class Event Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递给事件侦听器。 Hierarchy Event Index Constructors constructor Properties button currentTarget...

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

2. laya.ui.UIEvent [ 98%]

...DocumentationAll Packages | All Classes | Index | Frames No Frames UIEventProperties | Methods | Constants Packagelaya.uiClasspublic class UIEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inhe...

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

3. laya.ui.UIEvent [ 98%]

...DocumentationAll Packages | All Classes | Index | Frames No Frames UIEventProperties | Methods | Constants Packagelaya.uiClasspublic class UIEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inhe...

来源: laya_api 发布时间: 20170929

4. 鼠标交互-鼠标交互 [ 98%]

...eractiveTarget(); this.createLogger(); } createInteractiveTarget() { const Event = Laya.Event, Sprite = Laya.Sprite; let rect = new Sprite(); rect.graphics.drawRect(0, 0, 200, 200, "#D2691E"); rect.size(200, 200); rect.x = (Laya.stage.width - 200) / 2; rect.y = (Laya.stage.height - 200) / 2; Laya.st...

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

5. 鼠标交互-鼠标交互 [ 98%]

...ar Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var txt; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.A...

来源: Laya_示例 发布时间: 20241117

6. laya.events.Keyboard_API3.0 [ 98%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/Keyboard" Keyboard Class Keyboard Keyboard 类的属性是一些常数,这些常数表示控制游戏时最常用的键。 Hierarchy Keyboard Index Properties A ALTERNATE B BACKQUOTE BACKSLASH BACKSPACE C CAPS_LOCK C...

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

7. import Event = laya.events.Event; 报错 [ 98%]

import Event = laya.events.Event; 报错 import Event = laya.events.Event; 报错 file: 'file:///e%3A/Web/GameA/client/src/GameMain.ts' severity: '错误' message: 'Import declaration conflicts with local declaration of 'Event'' at: '5,1' source: 'ts' 项目中没有其他地方写这个import, 但...

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

8. laya.events.TouchInfo_API3.0 [ 98%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/InputManager" TouchInfo Class TouchInfo Hierarchy TouchInfo Implements ITouchInfo Index Constructors constructor Properties began clickCancelled clickCount downTargets event lastRollOver moved pos target touchId Method...

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

9. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 97%]

... ButtonGamepad Class ButtonGamepad 类用来描述gamepad Button Hierarchy EventDispatcher ButtonGamepad Index Constructors constructor Properties handness index EVENT_PRESS_ENTER EVENT_PRESS_OUT EVENT_PRESS_STAY EVENT_PRESS_VALUE EVENT_TOUCH_ENTER EVENT_TOUCH_OUT EVENT_TOUCH_STAY Methods destroy ev...

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

10. onscroll event 怎么做? [ 97%]

onscroll event 怎么做? Panel里面有几个image 怎样把image加scroll监听 然后每当scroll读出 x y? 2019-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 开发逻辑不...

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