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

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

101. 请问怎么制作一个layabox js版本的加载效果 [ 64%]

...2-31 0 0 分享 微博 QZONE 微信 gaowei2024 赞同来自: var Loadings=(function(_super) { function Loadings(){ Loadings.super(this); var Stage = Laya.Stage; var ProgressBar = Laya.ProgressBar; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var progressBar; Laya.init(1024, 600,WebGL); Laya.s...

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

102. laya.device.media.Video [ 64%]

...是否支持播放指定格式视频。 Video clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:RenderContext, x:Number, y:Number):void...

来源: laya_api 发布时间: 20170929

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

自定义对话框设置zOrder后,关闭时报错 var CountdownBar = (function () { function countdownBar() { PauseDialog.super(this); this.name = 'CountdownBar'; Laya.stage.addChild(this); this.zOrder = 100; this.count = 4; this.countLabel.text = '' + this.count; Laya.timer.loop(1000, this, this...

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

104. UNITY导出的模型旋转不了 [ 64%]

...享 微博 QZONE 微信 GameMonkey 赞同来自: 补充下主要的代码(function(global){ var Laya3D = global.Laya3D; var Laya = global.Laya; Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); Laya.Scene3D.load('/1/res...

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

105. laya.device.media.Video [ 64%]

...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node  canPlayType(type:int):String 检测是否支持播放指定格式视频。 Vi...

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

106. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 63%]

...f = this; Util3d.loadRes( [ this.sMapRes, this.sBullRes, this.sEnemyRes ], function (bIsFinish) { if (bIsFinish) { self.onResFinish(); } } ) } onResFinish() { let pNewScene = <Laya.Scene3D>Util3d.getRes(this.sMapRes, false) Laya.stage.addChild(pNewScene); Util3d.getChildByPath(pNewScene, "Main...

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

107. laya.display.EffectAnimation [ 63%]

...是在完成当前帧画面更新之后。 AnimationBase callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clear():AnimationBase[override] 停止动画播放,并清理对象属性。...

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

108. laya.media.SoundNode [ 63%]

...ren(... args):void 批量增加子节点 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含 node 节点。 Node customRender(context:RenderContext, x:Number, y:Number):void 自定义更新...

来源: laya_api 发布时间: 20170422

109. Animation 下的Event.COMPLETE 回调 [ 63%]

...,OnAnimation());                                   function OnAnimation():void{                                    _gameTableScene["donghua"+ transformToDesignIndex(msg.index)].visible =false;                 _gameTableScene["donghua"+ tran...

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

110. 重发问题: 点击页面会导致setTimeout setInterval 延迟执行 [ 63%]

...一样会导致setInterval明显延迟执行; Laya.stage.on('click', null, function (e) { console.log.log(`click`); }); 即使我将所有的事件绑定全部注释掉频繁的点击页面也会卡住!!!!! 我在事件的处理函数中设置stopPropagation没有任何作用; 现在这个是一个...

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