大约有 293 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
Laya_社区(135) Laya3.0_api(87) Laya3.0_文档(36) Laya_示例(18) Laya2.0_示例(10) Laya2.0_文档(5) laya_api(1) Laya2.0_api(1)
...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...
来源: Laya3.0_api 发布时间: 20231115
... Laya.init(1136, 640,WebGL); trace("ok..."); Laya.stage.on(Event.KEY_DOWN, this, this.onKeydown); } private function onKeydown(event:Event):void { var self:* = this; if(event.keyCode === Keyboard.SPACE) { //移除动画 if(testAnim1) { testAnim1.clear(); testAnim1.removeSelf(); testAnim1 = null; tes...
来源: Laya_社区 发布时间: 20180424
... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...
来源: Laya3.0_api 发布时间: 20231115
... 2018-04-04 0 0 分享 微博 QZONE 微信 Apple 赞同来自: null改成this 2018-04-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 panle130 相关问题 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip...
来源: Laya_社区 发布时间: 20170215
...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...
来源: Laya3.0_api 发布时间: 20231115
...Laya.Tween.to(spring2,{scaleX:1.0,scaleY:1.0},500,null,Laya.Handler.create(this,function(){ if(!spring2.destroyed){ // 添加判断后就不出bug了 Laya.Tween.to(spring2,{alpha:0},300,null,Laya.Handler.create(this,function(){ if(cal...
来源: Laya_社区 发布时间: 20170217
...-23 10:57 那怎么找里面的那个list w1114367261 • 2018-05-23 11:57 this.storelist.renderHandler=new Handler(this,onRender);//当list刷新时触发 并发送Box,index this.storelist.mouseHandler = new Handler(this,onMouse);//当list被点击时触发 并发送event,index } public function ...
来源: Laya_社区 发布时间: 20180522
....Sprite3D = null; public animator:Laya.Animator = null; public Init(){ this.sprite = this.owner as Laya.Sprite3D; this.animator = this.sprite.getComponent(Laya.Animator) as Laya.Animator; console.log("11"); } public RoleMove(dir:Laya.Vector3) { let norDir:Laya.Vector3 = Laya.Vector3.ZERO; Laya...
来源: Laya_社区 发布时间: 20191026
..._owner不为null if(_isScal&&_owner) { _owner.on(Event.MOUSE_DOWN,this,onDown); } else { return; } } public function get isScale():Boolean { return _isScal; } public function set isScale(isScal:Boolean):void { this._isScal=isScal; } private function onDown():void { //按下,按钮进行缩...
来源: Laya_社区 发布时间: 20161014
Animation提示未定义 function FarmIndexView() { FarmIndexView.super(this); this.aniCloud = new Animation(); this.aniCloud.loadAnimation("AniCloud.ani"); Laya.stage.addChild(this.aniCloud); }报错 Uncaught ReferenceError: Animation is not defined 2017-10-26 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20171026