大约有 633 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
...续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); } onVersionLoaded() { //激活大小图映射,加载小图的时候,如果发现小图在大图合集里面,则优先加载大图合集,而不是小...
来源: Laya_社区 发布时间: 20181027
...也是运行还是会报错第二张是运行报错,这是说没有那个this.normal.y 怎么会取不到呢 ,明明可以有 .y属性 ,是不是1.0和2.0不一样? 附件 : --> 2019-09-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20190902
...d { super.initialize(); this.itemRender = PageRender;//错误,因为_cells未初始化 this._itemRender = PageRender;//OK } } class PageRender extends laya.ui.View { constructor() { su...
来源: Laya_社区 发布时间: 20180810
...laya/filters/GlowFilter.ts:101 Returns Float32Array Static _filter _filter(this: RenderSprite, sprite: Sprite, context: Context, x: number, y: number): void Inherited from BlurFilter._filter Defined in laya/filters/Filter.ts:38 Parameters this: RenderSprite sprite: Sprite context: Context x: number ...
来源: Laya3.0_api 发布时间: 20231115
...要的资源 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, () => { alert("onLoaded!"); }), null, Laya.Loader.ATLAS, 1, true, null, false, true); useWorkerLoader参数设为true后,文件加载不成功? 附件 : --> Demo.zip 2019-01-11 添加评论 免费帖 --> 分享...
来源: Laya_社区 发布时间: 20190111
...Ease.backIn(100,100,100,100); Tween.to(sp,{x:400},1000,ease,Handler.create(this,onTween)); 2017-01-05 0 0 分享 微博 QZONE 微信 shaotianhk 赞同来自: var ease:*=Ease.backIn(100,100,100,100); 这句是什么鬼,放在js里直接报错 2018-04-02 0 0 分享 微博 QZONE 微信 为什么被...
来源: Laya_社区 发布时间: 20170105
...的。 private void Hook() { if(!isExit) { isExit = true; Toast.makeText(this, "在按一次退出程序", Toast.LENGTH_SHORT).show(); new Timer().schedule(new TimerTask() { @Override public void run() { // TODO Auto-generated method stub isExit = false; } },2000); } else { // MobclickAgent.onKillPr...
来源: Laya_社区 发布时间: 20170811
...ale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName(mSkinList[0]); play(); //changeSkin(); //Laya.timer.loop(1000, this, changeSkin); } 2...
来源: Laya_社区 发布时间: 20170818
...:18186:8) at loop CFFish的init方法如下 public init(type:string):void{ this.type = type } 2018-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Apple 赞同来自: console.log(fish) 输出的是什么 2018...
来源: Laya_社区 发布时间: 20180404
... laya 引擎是2.5的 Laya.loader.load(cg_url,Laya.Handler.create(this,()=>{ let tur:Laya.Texture = Laya.loader.getRes(cg_url); if(tur)img_cg.graphics.drawImage(tur) }),null,Laya.Loader.IMAGE); 这段代码, 当 cg_...
来源: Laya_社区 发布时间: 20201130