大约有 432 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0239 秒)
... */ var effect; (function (effect) { var GradientText = (function (_super) { const style = { DEFAULT: "default", VERTICAL: "vertical", HORIZONTAL: "horizontal", TOP_LEFT: "topLeft", TOP_RIGHT:...
来源: Laya_社区 发布时间: 20180824
...te m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler =...
来源: Laya_社区 发布时间: 20171202
... private isright: boolean = false; constructor() { super(); this.packageName = "Game"; this.resName = "Main"; this.isFullWindow = true; } /** * 初始化组件 第一次new的时候执行 */ onConstruct()...
来源: Laya_社区 发布时间: 20221207
...te m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler =...
来源: Laya_社区 发布时间: 20181112
... { type : Laya.TextArea } ) public txtarea: Laya.TextArea; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.txtarea.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 t...
来源: Laya3.0_文档 发布时间: 20251010
... this.infoLabel=null; GameInfo.js: var GameInfo = (function (_super) { function GameInfo() { GameInfo.super(this); // this.infoLabel.text = "abc"; 这个也报异常应该是找不到infoLabel // 注册按钮点击事件 点击后暂停游戏 ...
来源: Laya_社区 发布时间: 20171118
...划分) class Item extends ui.itemUI { private state = 0; constructor() { super(); //点击最先出来的按钮,会显示下一层界面,同时隐藏自己 this.btnFirst.on(Laya.Event.CLICK, this, this.change, [0]); //点击上面一层的按钮,会隐藏该层,同时显示上一层 this.btnC...
来源: Laya_社区 发布时间: 20180810
...te m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler =...
来源: Laya_社区 发布时间: 20180724
...G); } })();在background.js里是这样写的 var background = (function (_super) { function background() { background.super(this); } Laya.class(background,"background",_super); return background; })(ui.backgroundUI);backgound.ui也在场景编辑器里编辑并导出了。 然后运行的时候...
来源: Laya_社区 发布时间: 20180129
...函数里面去。 class MyView extends ui.view.MyViewUI { constructor() { super(); } createChildren():void { super.createChildren(); let assets = [ { url: "res/atlas/ui/shared.atlas", type: Loader.ATLAS }, { url: "res/atlas/ui/myview.atlas", type: Loader.ATLAS }, { url: "view/MyView.json", type: Lo...
来源: Laya_社区 发布时间: 20180113