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

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

1001. laya.ui.List_API3.0 [ 76%]

...Children?: boolean): List Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns List Properties Optional _extra _extra: INodeExtra Inherited from ...

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

1002. laya.ui.ComboBox_API3.0 [ 76%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

1003. 鼠标交互-修正交互区域 [ 76%]

...stage.on(Event.MOUSE_DOWN, this, this.onDown); } createCoralRect() { const Sprite = Laya.Sprite, Event = Laya.Event; let coralRect = new Sprite(); coralRect.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height / 2, "#FF7F50"); //设置名称 coralRect.name = "珊瑚色容器"; coralRect.size(...

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

1004. 点击区域问题 [ 76%]

点击区域问题 var con1:laya.display.Sprite = new laya.display.Sprite; Laya.stage.addChild(con1); con1.x = con1.y = 100; var con:laya.display.Sprite = new laya.display.Sprite; con1.addChild(con); // con.scrollRect = new laya.maths.Rectangle(200,200,500,500); con.x = con.y = -200; var sp:laya.di...

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

1005. laya.ui.RadioGroup_API3.0 [ 76%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

1006. laya.display.Input_API3.0 [ 76%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _parseEscapeChars _parseEscapeChars: boolean Inherited from Text._parseEscapeChars Defined in laya/display/Text.ts:202 是否将字符串中的\n,\t转换为实际功能的字符 _scene _scene: Node Inherited fr...

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

1007. 如何监听移动端软键盘的弹出和收回? [ 76%]

...和收回状态。   参考代码如下:package { import flash.display.Sprite; import flash.display.StageScaleMode; import flash.events.Event; import flash.events.FocusEvent; import flash.events.KeyboardEvent; import flash.text.TextField; import flash.text.TextFieldType; import flash.ui.Keyboard...

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

1008. HttpRequest有一定几率触发error事件 Status:0 [ 76%]

...cessing launch: Error Could not attach to main target 关于遍历产生的sprite点击事件,急,大神帮看哈 Animation如何加点击事件 使用钢体设置防穿后仍有几率会穿透 TypeScript下HttpRequest发送Post请求有Bug? 图片添加点击事件 有的不生效 HttpReques...

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

1009. laya.ui.Tree_API3.0 [ 76%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

1010. 如何失去鼠标焦点 [ 76%]

... 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 Sprite的鼠标点击事件不准确啊 关于使用matterjs物理引擎鼠标问题 问题状态 最新活动: 2017-05-17 16:53 浏览: 1976 关注: 2 人

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