大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0050 秒)
...=> { console.log(data); if (data.isDisplay) { wx.getFriendCloudStorage({ success: res => { ...
来源: Laya_社区 发布时间: 20180507
...on createAnimation():void { var url:Array=; for(var i:int=1;i<30;i++) { if(i<10) { url.push("res/fighter/fighter/rollSequence000"+i+".png"); } else { url.push("res/fighter/fighter/rollSequence00"+i+".png"); } } Animation.createFrames(url,"myFighter"); fly=new Animation(); Laya.stage.addChild(f...
来源: Laya_社区 发布时间: 20160610
...形后,mouse_over触发scale显示有问题 private _initView():void { if(this._objectInfo.templateInfo.type == "hole") { this._body = new Sprite(); this._body.graphics.drawCircle(0, 0, this._objectInfo.templateInfo.width, "#ff0000"); this._body.width = this._objectInfo.templateInfo.width; this._b...
来源: Laya_社区 发布时间: 20180308
...通过代码设定Clip相关的属性。 **运行示例效果:**  (图5)通过代码创建计数器  (图6) Clip的其他属性也可以通过代码来设置,上述示例演示了如何通过计时器获取每一秒更新clip.clipX切片,通过...
来源: Laya2.0_文档 发布时间: 20210714
...新,第二种是判断机型,然后在场景内做降帧处理。 if (Laya.Browser.userAgent.indexOf("HUAWEIALT-AL10") > -1 || Laya.Browser.userAgent. indexOf("HUAWEIALN-AL10") > -1) { Laya.stage.frameRate = Laya.Stage.FRAME_SLOW; } else { ...
来源: Laya_社区 发布时间: 20231207
...onFrame); } onFrame(): void { //如果创建对象时间为100帧间隔后 if (this.createTime >= 100) { //每200帧间隔创建30个雪花 for (var i: number = 0; i 640+20||img1.scaleX 在一些特殊情况我们需要注意`Laya.Hanlder.create()`的使用方式,我们仔细看图3中的`Laya.Han...
来源: Laya2.0_文档 发布时间: 20210715
... } play() { console.log("1111111111"); if (++this.index >= this.skeleton.getAnimNum()) { this.index = 0; } this.skeleton.play(0, false, true); } } new SpineBinary; 使用官方示例的动画文件能正常显...
来源: Laya_社区 发布时间: 20211013
...yed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. n.a (UnityEngine.SkinnedMeshRenderer A_0, System.String A_1, System.Boolean A_2) (at <f23f19a62c944610ba98639869d48a79>:0) n.b () (at <f23f19a62c944610ba98639869d48...
来源: Laya_社区 发布时间: 20210607
..._OFFSET; // 给左边的三个CheckBox添加事件使其能够切换标签 if (i == 0) { cb.y += 20; cb.on("change", this, this.updateLabel, [cb]); this.updateLabel(cb); } } } } private createCheckBox(skin: string): Laya.CheckBox { let cb: Laya.CheckBox = new Laya.CheckBox(skin); this.owner.addChild...
来源: Laya3.0_文档 发布时间: 20251010
...tate _scale _transform addRenderObject3D add_String add_i add_i_String add_if add_iff add_iffff add_ifffff add_iffffff add_iffffffif add_ifffffiiiif add_ifffiiiif add_iffif add_iffif_ab add_iffiiiifi add_iffiiiifi_ab add_ii add_iif_ab add_iiffff add_iiffffffffffff add_iiffffffffiffffffffff add_iiffi...
来源: Laya3.0_api 发布时间: 20231102