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

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

41. laya.ui.Image_API3.0 [ 42%]

.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...

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

42. laya.ui.FontClip_API3.0 [ 42%]

.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...

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

43. laya.ui.Button_API3.0 [ 42%]

.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...

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

44. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 41%]

...a.transform.localRotation = this.camera.transform.localRotation; } } /** * 监听鼠标事件 */ onAwake(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.camera = (<Laya.Camera>this.owner); } /** * 监听键盘...

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

45. laya.ui.CheckBox_API3.0 [ 41%]

.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...

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

46. laya.ui.TextInput_API3.0 [ 41%]

.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...

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

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

...s.player.x = 32 * 8; this.player.y = 32 * 4; this.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人物是...

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

48. laya.ui.TextArea_API3.0 [ 38%]

.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...

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

49. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 28%]

...t', (event) => { // event.code 会是下面其中一个: // START — 监听器正在启动(重启) // BUNDLE_START — 构建单个文件束 // BUNDLE_END — 完成文件束构建 // END — 完成所有文件束构建 // ERROR — 构建时遇到错误 // FATAL — 遇到无可修复的...

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