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

大约有 465 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)

241. 射线检测-选取物体 [ 52%]

...sh = capsule.meshFilter.sharedMesh; capsule.name = "胶囊体"; Laya.timer.frameLoop(1, this, checkHit); var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); var point = new Laya.Vector2(); var _outHitAllInfo = new Array(); function checkHit() { //从屏幕空间生成射线...

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

242. 飞机大战出现的问题注册了类New的时候报错未定义 [ 52%]

...Child(this.bg2);  //创建一个帧循环,更新容器位置 Laya.timer.frameLoop(1,this,this.onLoop); } //注册类 Laya.regClass(BackGround,"BackGround",_super); var _proto = BackGround.prototype; _proto.onLoop = function(){ //背景容器每帧向下移动一像素 this.y +=1; //如果背景...

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

243. laya.display.FrameAnimation [ 51%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

244. laya.ui.VBox [ 51%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

245. APP打包后运行效果与调试效果不一致(sprite,child) [ 51%]

APP打包后运行效果与调试效果不一致(sprite,child) Laya.timer.frameLoop(1,this,this.run()); public run():void{    var childs:Array<Laya.Sprite> = this._childs;    childs.sort(this.sortHandler); } public sortHandler(left:Laya.Sprite,right:Laya.Sprite):number{    return left.y...

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

246. laya.ui.TipManager [ 51%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

247. laya.display.Scene [ 51%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

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

248. laya.ui.HBox [ 51%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

249. laya.ui.DialogManager [ 51%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

250. Mesh模型能否动态合并? [ 51%]

....rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //Laya.timer.frameLoop(1, this, function () { // layaMonkey.transform.rotate(this.rotation, false); //}); }这种是没法合并的吧!100个drawcall 2018-03-29 0 0 分享 微博 QZONE 微信 jinqi166 赞同来自: 我的游戏比较特...

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