大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0081 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
Laya.Handler.create 回调 Laya.Tween.to(right, {x: 0} , 700 ,null , Laya.Handler.create(this,this.onStartOver1, [anim])); onStartOver1(bads: Array<any>): void { alert("1" + bads.length) var animsf :Laya.Animation = bads[0] as Laya.Animation; animsf.play(); } 这样用会报错 2017-03-09 添...
来源: Laya_社区 发布时间: 20170309
...滚动报错,麻烦看下? Laya.init(650, 316, Laya.WebGL); var bg1 = null; var bg2 = null; var box = null; function bg_rolling() { box = new laya.display.Sprite(); Laya.stage.addChild(box); bg1 = new laya.display.Sprite(); bg1.loadImage("res/bg1.png"); box.addChild...
来源: Laya_社区 发布时间: 20160721
....SaveBase var SaveBase=(function(){ function SaveBase(){ //this._valueName=null; //this._value=null; //this._dataObj=null; //this._newSubmit=false; } __class(SaveBase,'laya.webgl.canvas.save.SaveBase'); var __proto=SaveBase.prototype; Laya.imps(__proto,{"laya.webgl.canvas.save.ISaveData":true}) __pr...
来源: Laya_社区 发布时间: 20171104
...t32Array Defined in laya/resource/NativeContext.ts:72 sprite sprite: any = null Defined in laya/resource/NativeContext.ts:84 Static Readonly ARRAY_BUFFER_REF_COPY ARRAY_BUFFER_REF_COPY: 1 = 1 Defined in laya/resource/NativeContext.ts:70 Static Readonly ARRAY_BUFFER_REF_REFERENCE ARRAY_BUFFER_REF_REF...
来源: Laya3.0_api 发布时间: 20231102
... // "scaleX": 0, // "scaleY": 0 },550,null,Handler.create(this,this.skillEffecting)); 如代码所示,如果写了四个需要变化的属性,前两个不会执行,只有后面的会执行。 分两个tween 写也是这样,是有什么不对的么?还...
来源: Laya_社区 发布时间: 20180121
...比较粗糙,没做优化 function ModeKey() { //大圆 this.moveMax = null; //小圆点 this.moveKey = null; //当前的舞台 this.layer = null; //是否按下 this.isDown = false; //是否弹起 this.isUp = false; //是否移动 this.isMove = false; } tip:其实是否按下,是否弹起和是...
来源: Laya_社区 发布时间: 20171030
...用时,visible属性也为空,嵌套UI的内容也无法调用,都报null,该设置什么呢? 2017-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 不是很明白你的意...
来源: Laya_社区 发布时间: 20170309
...ing):void { if(this.szurl!="") this.disp() this.szurl=url; if(url==null){ this.graphics.clear(); }else{ this.skin=url; } } public disp(){ this.skin=""; if(this.szurl){ Laya.loader.clearRes(this.szurl,true); //***2.0这里写法为Laya.loader.clearRes(this.szurl); } } public set url(value:str...
来源: Laya_社区 发布时间: 20181201
...制以sp的原点为中心,半径40的圆 sp.graphics.drawCircle(0,0,40,null,'#00ff00',1);在layaair模式下调试运行,当拖动调试器边框时,绘制的圆没有更新显示 2018-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180524
...y: number, width: number, height: number, fillColor: any, lineColor: any = null, lineWidth: number = 1, percent?: boolean): DrawRectCmd { return this.addCmd(DrawRectCmd.create(x, y, width, height, fillColor, lineColor, lineWidth, percent)); } 代码示例: let sp = new Laya.Sprite(); //画矩形 s...
来源: Laya3.0_文档 发布时间: 20251010