大约有 213 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)
Laya_社区(95) Laya3.0_api(42) laya_api(20) Laya2.0_api(20) Laya_示例(11) Laya2.0_示例(11) Laya3.0_文档(10) Laya2.0_文档(4)
...ent):* 添加组件实例。 Node addInputChild(node:Node):NodeNode addLabel(label:String, index:int):void 增加一个帧标签到指定索引的帧上。当动画播放到此索引的帧时会派发Event.LABEL事件,派发事件是在完成当前帧画面更新之后。 AnimationBase callLa...
来源: Laya2.0_api 发布时间: 20190513
list点击label保留一种状态 var record_slide_list = this.record_slide_list; data = []; for(var i = 0;i < 10;i++){ data.push({ bgColor:{color:'#f3d9b4'}, type:false }) } record_slide_list.array = data; record_slide_list.selectEnable=true; record_slide_list.selectHandler = new Handler(this, ...
来源: Laya_社区 发布时间: 20170803
Skeleton在调用stop的时候会把当前动画的帧label事件全部重发一遍 如题,注释是说把没播的事件播完 但是之前收到过的事件仍然发送了 导致逻辑出错 比如我在attack动画中有一个名为"hit"的帧事件,播放的时候收到过一次,监...
来源: Laya_社区 发布时间: 20180507
...is.onPlaySound); } private createButton(label: string): Sprite { var w: number = 110; var h: number = 40; var button: Sprite = new Sprite(); button.siz...
来源: Laya_社区 发布时间: 20201203
...addChild(textInput);//将 textInput 添加到显示列表。 } } Hierarchy Label TextInput TextArea Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _tf _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active...
来源: Laya3.0_api 发布时间: 20231115
...Physics.rayCastAll(ray, _outHitAllInfo, 30, 0); } (function loadUI() { var label = new Laya.Label(); label.text = "点击选取的几何体"; label.pos(Laya.Browser.clientWidth / 2.5, 100); label.fontSize = 50; label.color = "#40FF40"; Laya.stage.addChild(label); //鼠标事件 Laya.stage.on(Laya.Ev...
来源: Laya_示例 发布时间: 20251130
...off(Event.STOPPED, this, completeHandler); } private function createButton(label:String):Sprite { var w:int = 110; var h:int = 40; var button:Sprite = new Sprite(); button.size(w, h); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2 , 8, "25px SimHei", "#FFFFFF"...
来源: Laya_社区 发布时间: 20170406
tree mouseHandler 怎么获取条目 <data> <item label='folder1' isOpen='true'> <item label='folder1_1' isOpen='true'> <leaf label='1.json' /> <leaf label='2.json' /> ...
来源: Laya_社区 发布时间: 20170626
laya.utils.Tween.to的第一个参数可以是个label? 2018-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 w1114367261 赞同来自: /** * 缓动对象的props属性到目标...
来源: Laya_社区 发布时间: 20180425
...位置。 Node addChildren(... args):void 批量增加子节点 Node addLabel(label:String, index:int):void 增加一个标签到index帧上,播放到此index后会派发label事件 AnimationPlayerBase clear():void[override] 清理。方便对象复用。FrameAnimation clearTimer(caller:*, met...
来源: laya_api 发布时间: 20170422