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

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

291. laya.ui.HScrollBar [ 69%]

...刻度值,滑动数值为tick的整数倍。默认值为1。 ScrollBar timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...

来源: laya_api 发布时间: 20170929

292. 真机下运行帧率不稳定 [ 69%]

...式都有这个问题  class Scene_Test { constructor() { super(); Laya.timer.frameLoop(1,this,this.update); } private update() { let dt = Laya.timer.delta / 1000; console.log("dt="+dt); } } 附件中图1是在iphone6上面运行打印的信息,图2是在模拟下运行打印的信息。   请...

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

293. ProgressBar 代码问题 [ 69%]

...ading : Onloading = new Onloading();     loading.popup(true);     Laya.timer.loop(100, this, loading.changeValue); }); 进度条代码: import Handler = Laya.Handler; export class Onloading extends ui.LoadingUI{        constructor(){        super();        this.loadingBar.changeHandl...

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

294. 有关TimeLine的疑问 [ 69%]

...12-15 18:52 浏览: 2146 关注: 2 人 daohu • 2016-11-28 12:59 同样的Timer类也缺少这样的调用,Laya.timer.once(5000,this,onComplete);游戏暂停,5s后依然会执行,有没有方法可以全局控制。另外封装函数有没有例子可循?主要是既然每个开发者封装...

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

295. 自定义对话框设置zOrder后,关闭时报错 [ 69%]

...zOrder = 100; this.count = 4; this.countLabel.text = '' + this.count; Laya.timer.loop(1000, this, this.countdown); } Laya.class(countdownBar, "CountdownBar", CountdownUI); return countdownBar; }()); CountdownBar.prototype.countdown = function () { this.count--; if (this.count > 0) { this.countLab...

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

296. 自动旋转后残影 [ 69%]

...; Laya.init(0, 0,true); Laya.stage.bgColor = "#000000"; ChangeSize(); Laya.timer.once(1000,this,function start():void{ Laya.stage.on(Event.RESIZE,this,onResize); }); }   protected function HengPing(): void { trace("设置横屏" ); var layaCanvas:Object = Browser.getElementById("layaCanvas"); layaC...

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

297. laya.d3.terrain.TerrainChunk [ 69%]

...显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():Node 克隆。 Sprite3D contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node  de...

来源: Laya2.0_api 发布时间: 20190513

298. laya.ui.Panel [ 69%]

...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...

来源: laya_api 发布时间: 20170929

299. 玩游戏,微信信息等有弹框,游戏tween就卡住一会,然后声音会不响会,请问如何监测到 [ 69%]

...音会不响一会,请问如何监测到!就是引擎说的为了性能timer自动停止!用什么事件去检测这个呢?focus貌似不行! 2017-09-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ang...

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

300. 其他引擎的Demo-Example_21 [ 69%]

...; Laya.stage.bgColor = "#3da8bb"; Stat.show(); this.createCanvases(); Laya.timer.frameLoop(1, this, this.animate); Laya.stage.on('mousedown', this, this.onMouseDown); Laya.stage.on('mousemove', this, this.onMouseMove); Laya.stage.on('mouseup', this, this.onMouseUp); } createCanvases() { const Sprite...

来源: Laya2.0_示例 发布时间: 20260106