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

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

431. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 74%]

...r starY=mY - (Laya.stage.mouseY - mLastMouseY);          if(starX<=0){             starX=0;             mX = 0;         }         if(starY<=0){             starY=0;             mY = 0;         }         if...

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

432. 多个button如何区分 [ 74%]

...的回调里去判断,当前点击的是哪个按钮 for(var i:int=0;i<10;i++) {      var btn:Button=new Button();      .......      btn.on(Event.CLICK,this,onMouse,['btn'+i]) } public function onMouse(aa):void {       if(aa=='btn001')      {      }       else if(aa=='btn00...

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

433. laya.ani.bone.Templet [ 73%]

...Templet  isParserComplete : Boolean = falseTemplet  mBoneArr : Vector.<Bone>Templet  mRootBone : BoneTemplet  pathArr : Array path数据 Templet  rate : NumberTemplet  skinDataArray : Array 皮肤数据 Templet  skinDic : Object 皮肤的字典数据 Templet  skinSlotDisplayDat...

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

434. 微信小游戏 code.js 报错 Cannot read property 'apply' of undefined [ 73%]

...t.onopen (http://127.0.0.1:25423/game/code.js:61506:53)     at Function.<anonymous> (http://127.0.0.1:25423/game/we ... 715:12)     at a.<anonymous> (http://127.0.0.1:25423/game/__ ... :14254)     at a.emit (http://127.0.0.1:25423/game/__ ... :14992)     at Function.<anonymous...

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

435. laya.net.URL_API3.0 [ 73%]

...式化为 basePath+相对URL地址, Static basePaths basePaths: Record<string, string> Defined in laya/net/URL.ts:18 扩展的基础路径映射表,比如{"aa/":"http://abc.com/"},则把路径以aa/开头的资源映射到http://abc.com/下 Static rootPath rootPath: string = "" Defined in ...

来源: Laya3.0_api 发布时间: 20231115

436. 红米K20pro 多个手指同时按下就会报这个错 object has in SimpleSingletonList [ 73%]

... -> SimpleSingletonList.Clear -> for (var i = 0, n = this.length; i < n; i++) 引擎代码 i没有赋初值,导致 i<n永远为false. 2020-03-21 2 1 分享 微博 QZONE 微信 腊笔小新 赞同来自: 186*****645 clear() {      var elements = this.elements;      for (var i, n...

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

437. laya.ani.bone.DrawOrderData [ 73%]

...ta Object ... Public Properties PropertyDefined By  drawOrder : Vector.<int>DrawOrderData  time : NumberDrawOrderDataPublic Methods  MethodDefined By  DrawOrderData()DrawOrderDataProperty DetaildrawOrderpropertypublic var drawOrder:Vector.<int>timeproperty public var time:Number...

来源: laya_api 发布时间: 20170422

438. laya.ani.bone.DeformSlotData [ 73%]

.... Public Properties PropertyDefined By  deformSlotDisplayList : Vector.<DeformSlotDisplayData>DeformSlotDataPublic Methods  MethodDefined By  DeformSlotData()DeformSlotDataProperty DetaildeformSlotDisplayListpropertypublic var deformSlotDisplayList:Vector.<DeformSlotDisplayData>Con...

来源: laya_api 发布时间: 20170422

439. HTMLDivElement获取内容 [ 73%]

...取内容 怎么获取内容呢 我需要连标签也能获取到 比如<span>dasa<span> 2017-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 建议参考下https://ask.layabox....

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

440. 数组声明问题 [ 73%]

...接 提交 1 个回复 xueLayaBox - 爱学习 赞同来自: var arr:Array<Laya.Image> = new Array<Laya.Image>(); 2018-04-09 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zxcmht310 相关问题 发起问题须知,必看!...

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