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

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

151. laya.d3.animation.AnimationClip [ 91%]

...dtive:Boolean):voidAnimationClip  _parse(data:*, propertyParams:Object = null, constructParams:Array = null):AnimationClip[static] AnimationClip  addEvent(event:AnimationEvent):void 添加动画事件。 AnimationClip  duration():Number 获取动画片段时长。 AnimationClip  load(url:Str...

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

152. laya.d3.core.BaseCamera [ 91%]

...ayer值为0到31层。 BaseCamera callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node...

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

153. 多次加载一个页面出现_$P为null的情况 [ 90%]

多次加载一个页面出现_$P为null的情况 做的一个棋牌游戏,使用了socket.io,进入页面的时候代码如下: _proto.onlineClick = function(){ var gold = StorageHelper.getUserGold(); if(gold > 500){ Online.joinGame().then(function(data){ console.log(data); StorageHelper.se...

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

154. 如何获取实时更新的动态数据,数据在文本中 [ 90%]

...复执行加载文本资源函数Laya.stage.frameLoop(1,this,this.Repeat,null,true);这是加载资源的函数内的代码loadPosition():void{ /* let resArray:Array<any>=[ {url:"eyeimf.txt",type:Laya.Loader.TEXT} ] Laya.loader.load(resArray,Laya.Handler.create(this,this.Onloaded),null,Laya.Lo...

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

155. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 90%]

Laya.timer.loop() 报错 Cannot read property 'loop' of null import { Image } from "laya/ui/Image"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public ...

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

156. laya.physics.Physics [ 90%]

...c Methods MethodDefined By  Physics()Physics  enable(options:Object = null):void[static] 开启物理世界 options值参考如下: allowSleeping:true, gravity:10, customUpdate:false 自己控制物理更新时机,自己调用Physics.update Physics event(type:String, data:* = null):Boolean...

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

157. TypeError: Cannot read property 'GetType' of null [ 90%]

TypeError: Cannot read property 'GetType' of null 偶尔会有报错  不知道触发条件  求问解决方法 附件 : --> 2019-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: ...

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

158. laya.d3.terrain.TerrainHeightData [ 90%]

...ata 实例。 TerrainHeightData  _pharse(data:*, propertyParams:Object = null, constructParams:Array = null):void[static] 异步回调 TerrainHeightData  load(url:String, complete:Handler, widht:int, height:int, bitType:int, value:Number):void[static] 加载地形高度模板,注意:不缓存。...

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

159. laya.d3.core.light.DirectionLight [ 90%]

...addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node...

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

160. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 90%]

跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 偶发性bug。 Uncaught (in promise) TypeError: Cannot read property 'width' of null     at Function.Texture._create (laya.core.js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler._...

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