大约有 30 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)
...l1 = (function (_super) { function MPanel1() { MPanel1.super(this); } Laya.class(MPanel1, "MPanel1", _super) var _proto = MPanel1.prototype; return MPanel1; }(ui.Panel1UI));代码如上,报错如下 附件 : --> 2018-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180206
...nherited Externals Only exported Menu Globals "laya/utils/Browser" Browser Class Browser Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Hierarchy Browser Index Properties PLATFORM_ANDROID PLATFORM_IOS PLATFORM_PC canvas context onAlipayMiniGame onAndroid onBDMin...
来源: Laya3.0_api 发布时间: 20231115
...想放弃,就用2.2以下的引擎版本。 vincent • 2019-08-28 18:27 class TestSceneUI extends Scene { constructor() { super(); } createChildren() { super.createChildren(); this.loadScene("test/TestScene"); } } UC指这行报错,这个都是编译后的代码 addScore(value = 1) { ...
来源: Laya_社区 发布时间: 20190828
...型项目回调 /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; pri...
来源: Laya_社区 发布时间: 20180119
...; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export default class Test_11_Sound { //声明一个信息文本 private txtInfo: Text; constructor() { this.setup(); } private setup(): void { var gap: number = 10; //创建一个Sprite充当音效播放按钮 var soundButton: Sprit...
来源: Laya_社区 发布时间: 20190421
...,所以只好上论坛求助了。 比如这么一个报错的地方: class Component extends laya.ui.Component implements laya.ui.IComponent { _getBoundPointsM(ifRotate?: boolean): Array<any>; disableLayout: boolean; protected resetLayoutX(): void; protected resetLayoutY(): void; } 类lay...
来源: Laya_社区 发布时间: 20181027
...od stub Laya.Browser.window.location.href=data; } } //绑定父类 Laya.class(StartResource,"StartResource",StarUI); 主界面 红色是dalog 绿色是超链接按钮 点击超链接按钮。 并点击 chrome左上角的返回键。 回到主界面, 点击dalog,dalog失效 --...
来源: Laya_社区 发布时间: 20180810
...ox = Laya.Box; import Image = Laya.Image; import Text = Laya.Text; class Item extends Box { public static WID: number = 400; public static HEI: number =40; private text_guanqia: Text; private text_guanqia_info: Text; private img: I...
来源: Laya_社区 发布时间: 20210122
...de报未定义,IDE F8编译时也不通过 代码: export default class Index extends Laya.Script { /* @prop {name: speed, tips: "速度", type: Number, default: 10} */ constructor() { super(); } onAwake() { ...
来源: Laya_社区 发布时间: 20191227
...a:80) at miui.contentcatcher.InterceptorFactory.initInterceptorClass(InterceptorFactory.java:99) at miui.contentcatcher.InterceptorFactory.createInterceptor(InterceptorFactory.java:41) at miui.contentcatcher.InterceptorProxy$H.handleMessage(InterceptorProxy.java:3...
来源: Laya_社区 发布时间: 20181126