大约有 2,197 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0191 秒)
Laya_社区(1974) Laya3.0_api(63) Laya2.0_api(57) laya_api(53) Laya3.0_文档(22) Laya2.0_文档(19) Laya_示例(6) Laya2.0_示例(3)
...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
...: 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
...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
点击区域问题 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
...: 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
...: 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
...和收回状态。 参考代码如下: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
...cessing launch: Error Could not attach to main target 关于遍历产生的sprite的点击事件,急,大神帮看哈 Animation如何加点击事件 使用钢体设置防穿后仍有几率会穿透 TypeScript下HttpRequest发送Post请求有Bug? 图片添加点击事件 有的不生效 HttpReques...
来源: Laya_社区 发布时间: 20180330
...: 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
... 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 Sprite的鼠标点击事件不准确啊 关于使用matterjs物理引擎鼠标问题 问题状态 最新活动: 2017-05-17 16:53 浏览: 1976 关注: 2 人
来源: Laya_社区 发布时间: 20170517