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

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

261. laya.ui.VScrollBar_API3.0 [ 39%]

...seUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet ...

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

262. laya.ui.ScrollBar_API3.0 [ 39%]

...seUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet ...

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

263. rigidBody.applyForce 物体不会移动 [ 38%]

...增加10Gpu,removed掉相机事件也不会减少 用EffectAnimation实现Button的点击放大效果点击的时候按钮位移动了是否是我做法有问题 Laya.loader.create 不会反馈失败状态跟描述不符合 问题状态 最新活动: 2020-09-17 11:28 浏览: 411 关注: 1 人

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

264. laya.ui.ColorPicker_API3.0 [ 38%]

...in(value: string): void Defined in laya/ui/ColorPicker.ts:397 copy laya.ui.Button#skin Returns string Defined in laya/ui/ColorPicker.ts:401 copy laya.ui.Button#skin Parameters value: string Returns void stage get stage(): Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞...

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

265. 2.x引擎项目升级说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...N和RIGHT_MOUSE_UP,改为派发MOUSE_DOWN和MOUSE_UP,可以通过Event.button区分鼠标左中右键。 3.5 事件汇总 Laya.Script 里相关的输入处理函数有: /** * 鼠标按下时执行 */ onMouseDown?(evt: Event): void; /** * 鼠标抬起时执行 */ onMouseUp?(evt: Event): void; /...

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

266. 关于UI与3D场景的问题 [ 35%]

...请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: button.on(Laya.Event.CLICK, this, function(event:Laya.Event){ console.log("点击到了UI"); event.stopPropagation(); }); 完整代码 2018-05-30 0 17 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你这个问题描述...

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

267. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 35%]

...s,this.onUIAssetsLoaded)); } private onUIAssetsLoaded():void{ var btn:Laya.Button = new Laya.Button("res/a.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("inpu...

来源: Laya2.0_文档 发布时间: 20210715

268. laya.ui.UIComponent_API3.0 [ 34%]

...nitialize > 组件构造函数 Hierarchy Sprite UIComponent Box ISelect Button Clip ColorPicker Label Image Slider ScrollBar ComboBox ProgressBar TipManager OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThroug...

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

269. 事件管理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 32%]

...送者发送事件给它的侦听者。那么比如上面示例代码中的Button就是继承自Laya.EventDispatcher,可以用.on的方法来侦听CLICK`事件。 Laya.EventDispatcher 具有如下功能: 2.2.1 事件派发 event /** * 派发事件。 * @param type 事件类型。 * @param data ...

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

270. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 31%]

...s,this.onUIAssetsLoaded)); } private onUIAssetsLoaded():void{ var btn:Laya.Button = new Laya.Button("res/a.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("inpu...

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