大约有 293 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0064 秒)
Laya_社区(135) Laya3.0_api(87) Laya3.0_文档(36) Laya_示例(18) Laya2.0_示例(10) Laya2.0_文档(5) laya_api(1) Laya2.0_api(1)
...除所有帧标签! */ __proto.removeLabel=function(label){ if (!label)this._labels=null; else if (this._labels){ for (var name in this._labels){ this._removeLabelFromList(this._labels[name],label); if(this._labels[name].length == 0){ delete this._labels[name]; } } } } ----------------------------...
来源: Laya_社区 发布时间: 20181105
... 用法: var texture: Laya.Texture = Laya.Loader.getRes("progress.png"); this.spe = new coolDownSprite(); this.spe.init(texture); //this.spe.initWithoutTexture(128, 128); this.spe.pos(300, 350); this.spe.setProgress(this.progress); Laya.stage.addChild(this.spe); ----------------------源码-------...
来源: Laya_社区 发布时间: 20170606
...["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { hSlider = new HSlider();//创建一个 HSlider 类的实例对象 hSlider 。 hSlider.skin = "resource/ui/hslider.png";//设置 hSlider 的...
来源: Laya3.0_api 发布时间: 20231115
...["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { vSlider = new VSlider();//创建一个 VSlider 类的实例对象 vSlider 。 vSlider.skin = "resource/ui/vslider.png";//设置 vSlider 的...
来源: Laya3.0_api 发布时间: 20231115
...n = true): void { super.destroy(true); this._bitmap && this._bitmap.destroy(); this._bitmap = null; } 2,当前资源加载完成后,回调设置皮肤资源找不到_bitmap /** * @private * 设置皮...
来源: Laya_社区 发布时间: 20191024
...300); Laya.stage.addChild(ani); ani.loadAnimation("AAA.ani",Handler.create(this,onLoadedAni,[ani])); } private function onLoadedAni(ani:Animation):void { ani.play(0,true); trace(ani.frames); }在加载完成之后去获取! 2017-08-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20170803
...er; class GameBootstrap{ public constructor(){ this.init(); } private init():void{ //初始化微信小游戏 Laya.MiniAdpter.init(true); //程序入口 Laya.init(600, 400,Laya.WebGL); ...
来源: Laya_社区 发布时间: 20180529
...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(n...
来源: Laya3.0_api 发布时间: 20231115
...日志内容。 在laya.ani.js内的Skeleton类的_createGraphics方法对this._pathDic=null;处理下,如下图: 2023-11-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 1675148949用户 相关问题 2....
来源: Laya_社区 发布时间: 20231127
...y 的值,用于控制 clip 对象的显示位置。 clip.on(Event.CLICK, this, onClick);//给 clip 添加点击事件函数侦听。 Laya.stage.addChild(clip);//将此 clip 对象添加到显示列表。 } private function onClick():void { trace("clip 的点击事件侦听处理函数。clip.total...
来源: Laya3.0_api 发布时间: 20231115