大约有 285 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
...rows: number, interval?: number, isLoop?: boolean) { super(path, cols, rows); if (interval != void 0) { this.interval = interval; } this.on(Laya.Event.COMPLETE, this, () => { ...
来源: Laya_社区 发布时间: 20201211
...[TypeError: undefined is not an object(evaluating 'BKCanvasRenderContext.__super.call')];line = 61647,column= 42, 2018-12-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 183*****470 赞同来自: 是不是要将...
来源: Laya_社区 发布时间: 20181211
...rivate skin_lock:Laya.Image; private skin_inUse:Laya.Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.initBuild(); this.skin_btn_use.on(Laya.Event.CLICK,this,this.onSkinBtnUseClick) } private onSkinBtnUseClick(){ console.log("使用"); } //btn 有宽高 2018-08-28 添加评论 ...
来源: Laya_社区 发布时间: 20180828
...的方式进行管理对象池: export class EffectA { constructor() { super(); } static create(): EffectA { Pool.getItemByClass(EffectA); } recover(): void { Pool.recoverByClass(this); } } export class EffectB { constructor() { super(); } static create(): EffectB { Pool.getItemByClass(EffectB); }...
来源: Laya3.0_文档 发布时间: 20251010
... static width: number = 1188; static height: number = 594; constructor() { super(); Laya.loader.load("res/images/map_01.png", Laya.Handler.create(this, this.bgLoaded)); } bgLoaded(): void { let t: Laya.Texture = Laya.loader.getRes("res/images/map_01.png"); this.width = 1000; this.height = 500; this....
来源: Laya_社区 发布时间: 20170714
...码如下: class FrameAnimation extends AnimationBase { constructor() { super(); if (FrameAnimation._sortIndexFun == null) { FrameAnimation._sortIndexFun = MathUtil.sortByKey("index", false, true); } } 2019-11-19 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20191109
...同来自: 实验了下,将TextPageUI.surper(this);修改成TextPageUI.__super.call(this);就可以了。 2018-12-25 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 鱿鱼小丝 相关问题 文本如何自动换行 关于文本遮挡 ...
来源: Laya_社区 发布时间: 20181224
...ene文件 export default class GameUI extends Laya.Scene { constructor() { super(); //设置单例的引用方式,方便其他类引用 GameUI.instance = this; //关闭多点触控,否则就无敌了 Laya.MouseManager.multiTouchEnabled = false; //加载场景文件 this.loadScene("test/TestScene...
来源: Laya_社区 发布时间: 20190730
... </span>" constructor() { super() this.width = 1200 this.height = 55 this.visible = false this.pos(565,150) this._createHorn() this._createBg() this._createView() this.on(Laya.Event.UNDISPLAY,this,this.stop) this.on(Laya.Event.DISPLAY,this,this.play) ...
来源: Laya_社区 发布时间: 20180314
... { type = 0; } export class TestClass2 extends TestClass { constructor() { super(); this.type = 1; } }测试代码如上所示,打印结果是:0,0,true,预期结果是:0,1,false才对。 获取TestClass2实例时,返回的是TestClass的实例对象,看了下源码,发现是获...
来源: Laya_社区 发布时间: 20250819