大约有 2,033 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0063 秒)
Laya_社区(1424) Laya2.0_文档(233) Laya_示例(141) Laya2.0_示例(117) Laya3.0_api(61) Laya3.0_文档(44) Laya2.0_api(7) laya_api(6)
...ALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(skin, Handler.create(this, onLoadComplete)); })(); function onLoadComplete() { var ta = new TextArea(""); ta.skin = skin; ta.font = "Arial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = ...
来源: Laya_示例 发布时间: 20251130
BackGround.super(this);这个报错 Cannot read property 'call' of undefined 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 你具体描述一下你出现问题的环境, 以...
来源: Laya_社区 发布时间: 20180110
...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
...次就打不开了。 Dialog.manager.popupEffectHandler = Handler.create(this,(e)=>{ var dialog:Dialog = <Dialog>e; dialog.y = - dialog.height; var yy:number = (Laya.stage.height - dialog.height)/2; Laya.Tween.to(dialog,{y:yy},600,Laya.Ease.backOut); },[],false); this.gameHelpDialog = new v...
来源: Laya_社区 发布时间: 20171114
...elUI(){ ABCPanelUI.__super.call(this); } CLASS$(ABCPanelUI,'ui.abc.ABCPanelUI',_super); var __proto__=ABCPanelUI.prototype; __proto__.createChildren=function(){ ...
来源: Laya_社区 发布时间: 20161017
.../LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { layaMonkey.transform.localScale = new Laya.Vector3(3, 3, 3); //转换2D屏幕坐标系统到3D正交投影下的坐标系统 camera.convertScreenCoordToOrthographicCoord(pos, _translate); layaMonkey.transf...
来源: Laya_示例 发布时间: 20251130
...class Item extends Box { constructor(){ super(); const Image = Laya.Image; this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); } setImg(src) { this.img.skin = src; } } class UI_List { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya....
来源: Laya2.0_示例 发布时间: 20251130
...e.bgColor = "#232628"; Stat.show(); Laya.loader.load(skins, Handler.create(this, this.onSkinLoaded)); } onSkinLoaded() { let tabA = this.createTab(skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000000,#d3d3d3,#333333"; let tabB =this. createTab(skins[1]); tabB.pos(40, 220); tabB.labelColors = "#...
来源: Laya2.0_示例 发布时间: 20251130
骨骼释放纹理 Templet.TEMPLET_DICTIONARY[this.url] url用错了导致Templet删不掉 /** *释放纹理 */ __proto.destroy=function(){ this._isDestroyed=true; var tTexture; var $each_tTexture; /*for...
来源: Laya_社区 发布时间: 20190704
....Image; var WID = 373, HEI = 85; function Item() { Item.__super.call(this); this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); this.setImg = function(src) { this.img.skin = src; } } Laya.class(Item, "Item", Box); // 主要逻辑代码 var Stage = Laya.Stage; var Li...
来源: Laya_社区 发布时间: 20180731