• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,081 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)

401. 能公布一下native下conch的相关接口么?? [ 64%]

...ZONE 微信 dfklegend 赞同来自: 有输出android log的接口吗? js console.log貌似看不到 2018-01-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 keeplook 相关问题 解决跨域相关! liblayaair.so 总是崩溃,有...

来源: Laya_社区 发布时间: 20170222

402. 【求助】关于Cannot read property 'visible' of undefined问题 [ 64%]

...(foodsList); addFoodListener(); } private function addFoodListener():void{ console.log(foodsList[this.index]); this.currentFood = this.foodsList[this.index]; console.log(currentFood); this.currentFood.on(Event.MOUSE_DOWN, this, onMouseDown); this.currentFood.on(Event.MOUSE_UP, this, onMouseUp); }cur...

来源: Laya_社区 发布时间: 20180405

403. Laya2.2.0,官方demo,Iphone Xs Max 14.0 锁屏小游戏卡死 [ 64%]

...> { this.event(AppEvent.onShow, res); this.appStatus = AppEvent.onShow; console.log(this.appStatus, '---------'); Laya.stage.renderingEnabled = true//恢复渲染 Laya.updateTimer.resume() //恢复onUpdate Laya.timer.resume(); //恢复时间 Laya.timer.scale = 1; }) window['wx'].onHide(() => {...

来源: Laya_社区 发布时间: 20200917

404. UI运行时 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

...port class NewScript extends Main { private ui: RuntimeScript; onStart() { console.log("Game start"); this.ui = this.owner.scene as RuntimeScript; super.baseUI(this.ui); } } import { Main } from "./Main"; import { ButtonRuntime } from "./ButtonRuntime"; const { regClass, property } = Laya; @regClass...

来源: Laya3.0_文档 发布时间: 20251010

405. 关于zOrder层级问题 [ 64%]

关于zOrder层级问题  console.log(arr1.zOrder); //打印结果:3         console.log(this.target.zOrder); //打印结果:10   最后运行时舞台上显示的是arr1(sprite)在target(sprite)之上。 但是在编缉器上显示是正常的。 arr1对象是运行时动态添...

来源: Laya_社区 发布时间: 20200326

406. Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 [ 64%]

...博 QZONE 微信 匿名用户 赞同来自: function begingame(){     console.log("开始游戏");     var Tween   = Laya.Tween;     gamebox.x = Laya.Browser.width;     gamebox.visible = true;     Laya.stage.addChild(gamebox);     // Tween.to(beginbox,{x:-Laya.Browser.width},1000,...

来源: Laya_社区 发布时间: 20170104

407. 内存释放问题 [ 64%]

...eNames[i]; let curMem: number = Laya.Stat.currentMemorySize// >> 20; console.log("curM:", curMem); path = bigao.Utils.StringTool.formatString(ResUIModuleManager.moduleResPath, muduleName); bigao.control.SkillControl.instance._skillView = null; Laya.loader.clearRes(path, true); // 为什么这...

来源: Laya_社区 发布时间: 20170905

408. [LayaAir3]LayaAir3.3使用Fairygui开发UI,滤镜效果对不上 [ 63%]

...quot;, (pkgs) => { const view = pkgs[0].createObject("View"); console.log(view); this.owner.addChild(view.displayObject); }); } 我提出的問題是,Fairygui編輯器和Laya編輯器,使用BlendMode和濾鏡的效果不相同。 格局豬 - 趙唐豬豬 • 2025-09-08 12:29 我重...

来源: Laya_社区 发布时间: 20250829

409. UI-ComboBox [ 63%]

... Laya.stage.addChild(comboBox); return comboBox; } function onSelect(cb) { console.log("选中了: " + cb.selectedLabel); } })();module laya { import Stage = Laya.Stage; import ComboBox = Laya.ComboBox; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ComboBox { private sk...

来源: Laya_示例 发布时间: 20260303

410. 其他(TypeScript-LayaNative原生服务-LayaNative基础文档) [ 63%]

...义,代码如下: ```javascript window.onLayaInitError=function(e) { console.log("onLayaInitError error=" + e); alert("加载游戏失败,可能由于您的网络不稳定,请退出重进"); } ``` 开发者可以根据自己需求,修改报错信息和报错方式。 ## 9. 获取设备型...

来源: Laya2.0_文档 发布时间: 20210715