大约有 245 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
... `window` ,需要使用 `$global.window`。 5.淘宝创意互动 `Laya.stage.alignV`(@default : **top** ) 与 `Laya.stage.alignH`(@default : **left**) 都只支持默认值。 6.暂不支持实验版 TS 项目。 7.不支持横屏模式。 ### 五.关于全局变量 淘宝创意互动项...
来源: Laya2.0_文档 发布时间: 20210714
...Select); rankList.renderHandler = new Laya.Handler(this, updateItem); Laya.stage.addChild(rankList); // 设置数据项为对应图片的路径 var data = []; for (var i = 0; i < 10; ++i) { data.push("res/1.jpg"); data.push("res/1.jpg"); data.push("res/1.jpg"); data.push("res/1.jpg"); } rankList....
来源: Laya_社区 发布时间: 20180416
...init() { // 设置背景色为场景高度 this.box_color_bg.height = Laya.stage.height; } onEnable() { this.init(); // 判定是注册还是忘记密码 if (GameData.I.isReg) { this._regMode(); } else { this._forgetMode(); } // 添加取消事件 this.lb_cancel.on(Laya.Event.CLICK, this, () => {...
来源: Laya_社区 发布时间: 20200410
...Distance = Vector3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouse...
来源: Laya_社区 发布时间: 20190224
...mmc 赞同来自: ls场景文件通过Laya.loader.create()预加载后Laya.stage.destroyChildren()出现异常Cannot read property 'visible' of null。 问题详情见:https://ask.layabox.com/question/5103 2017-06-15 0 1 分享 微博 QZONE 微信 150*****372 赞同来自: 目前,使用最新版...
来源: Laya_社区 发布时间: 20170428