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

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

2381. 关于类中方法的调用 [ 50%]

... this.onAction(); } Laya.class(NpcLayer,"NpcLayer",_super); NpcLayer.prototype.onAction = function(){ console.log("这是第二种解决方法"); } return NpcLayer; })(Laya.Sprite); 2017-11-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

2382. HttpRequest有一定几率触发error事件 Status:0 [ 50%]

...具中,调用 request.send(url + method, data, "post", "json", ["Content-Type","application/json","Authorization", "Bearer " + PlayerModel.Instance.token]);   大部分时候正常  但有20%的几率会触发error事件回调,收到的message为"failed Status:0 text:"   只在本次运行的...

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

2383. laya.physics.joint.DistanceJoint_API3.0 [ 50%]

...PreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Property Accessor Inherited constructor Inherited property Inherited method Inherited accessor Enumeration Interface

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

2384. 调用创建微信授权按钮时,授权按钮有时候显示有时候不显示 [ 50%]

...eUserInfoButton(             {                 type: 'image',                 image: GameConfig.ServerUrl + 'static/playgame.png',                 style:                 {                     right: 30, ...

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

2385. 同步龙骨插槽动画方案 [ 50%]

...理数据     } }     xx{     this.mSketon = new MSketon(this.typeLaya.Handler.create(this, this.onSkeLoaded), 2);     Laya.timer.frameLoop(1, this, this.update); ........................................................................................................................

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

2386. 打包android可以不使用dcc吗 [ 50%]

... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 用了第三方socket类 项目在IDE上可以连接正常运行,...

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

2387. 关于资源版本号的问题咨询 [ 50%]

...ginURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return originURL; }方法中会对manifest进行匹配,但是在manifest又没有对图集文件进行记录,所以导...

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

2388. 在 tiledmap 插入一个精灵在上面 [ 50%]

...0的 对象 [ { "height":0, "name":"", "properties": { }, "rotation":0, "type":"", "visible":true, "width":0, "x":0, "y":0 }]   问题解决     希望这篇文章 可以帮助到大家 避开这些弯路, 希望这个引擎 越来越好 2017-11-25 添加评论 免费帖 --> 分享 微博 QZONE...

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

2389. 物理射线检测(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 50%]

...(https://layaair.ldc.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检测使用的接口有4个,分为两类。`raycastFromTo`,`raycastAllFromTo`一类,`rayCast`,`rayCastAll`一类。我们将前面2个...

来源: Laya2.0_文档 发布时间: 20210715

2390. 通过getChildByName找到的dialog节点使用show方法后, 再次getChildByName查找, 结果为null [ 50%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的...

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