大约有 213 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
Laya_社区(95) Laya3.0_api(42) laya_api(20) Laya2.0_api(20) Laya_示例(11) Laya2.0_示例(11) Laya3.0_文档(10) Laya2.0_文档(4)
...seHandler = new Handler(this,onMouse);//当list被点击时触发 并发送event,index } public function onRender(cell:Box,index:int):void { //当list刷新时接收并更改单元格属性 var hero:Image = cell.getChildByName("hero")as Image;//根据名字查找要更改的单元格 hero....
来源: Laya_社区 发布时间: 20180522
...代码中的使用如下: //鼠标按下时执行 onMouseDown(evt: Laya.Event): void { } //鼠标抬起时执行 onMouseUp(evt: Laya.Event): void { } //鼠标右键或中键按下时执行 onRightMouseDown(evt: Laya.Event): void { } //鼠标右键或中键抬起时执行 onRightMouseUp(evt: Laya.E...
来源: Laya3.0_文档 发布时间: 20251010
...Laya.stage.addChild(sp); var timeLine:TimeLine=new TimeLine(); timeLine.on(Event.LABEL,this,onLabel); timeLine.addLabel("A",0).to(sp,{rotation:360},700) .addLabel("B",0).to(sp,{scaleY:0.7},200) .addLabel("C",0).to(sp,{scaleY:1},200); timeLine.play(0,false); } private function onLabel(text:String):vo...
来源: Laya_社区 发布时间: 20161229
如何定义动画播放过某帧后的回调函数 Event Object Type: laya.events.Event; Event.type property = Event.LABEL; 如何才能实现第2帧后的回调呢 2016-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20161214
...sses | Index | Frames No Frames FrameAnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class FrameAnimationInheritanceFrameAnimation AnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 关键帧动画播放类。 Public Properties ...
来源: laya_api 发布时间: 20170929
...All Classes | Index | Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton Component Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示...
来源: laya_api 发布时间: 20170929
...sses | Index | Frames No Frames FrameAnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class FrameAnimationInheritanceFrameAnimation AnimationBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 节点关键帧动画播放类。解析播放IDE内...
来源: Laya2.0_api 发布时间: 20190513
...ic btnLogin:Laya.Button; constructor(){ super(); this.btnLogin.on(Laya.Event.CLICK,this,()=>{ console.log('btnLogin click') }) } createChildren(){ super.createChildren(); this.loadScene('LoginScene'); } } import LoginScene from "./script/LoginScene" /* * 游戏初始化配置; */ e...
来源: Laya_社区 发布时间: 20190402
...All Classes | Index | Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显...
来源: Laya2.0_api 发布时间: 20190513
...种开发语言、LayaAirIDE让项目开发更高效。Stage = Laya.Stage; Event = Laya.Event; Box = Laya.Box; List = Laya.List; Handler = Laya.Handler; WebGL = Laya.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextA...
来源: Laya2.0_示例 发布时间: 20251130