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

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

2361. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 51%]

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

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

2362. as怎么用protobytebuf传输数据到服务端 [ 51%]

...aya_XS 赞同来自: var userLogin:MsgLogin = new MsgLogin(); userLogin.msgType = MSG_TYPE.USERLOGIN; userLogin.msgSize = MSG_SIZE; userLogin.uid = Login.instance.g_userInfo.uid; userLogin.token = Login.instance.g_userInfo.token; var msgByteArray:WritingBuffer = new WritingBuffer(); msgInfo.writeTo(...

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

2363. 分享:LayaAir下如何获取图集下的小图资源? [ 51%]

...载引擎需要的资源 Laya.loader.load([{url:"res/atlas/atlas_res.json",type:Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //获取图集下的单张小图 var texture:Texture=Laya.loader.getRes("atlas_res/01.png"); var sp:Sprite=new Sprite(); sp.graphics.d...

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

2364. RenderTarget2D的create方法 [ 51%]

...unction create(w:int, h:int, surfaceFormat:int = WebGLContext.RGBA, surfaceType:int = WebGLContext.UNSIGNED_BYTE, depthStencilFormat:int = WebGLContext.DEPTH_STENCIL, mipMap:Boolean = false, repeat:Boolean = false, minFifter:int = -1, magFifter:int = -1):RenderTarget2D {             var t:R...

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

2365. [LayaAir3]在pc端测试的时候流程没有问题 但是使用手机扫码模拟的时候 加载完成之后 一直白屏或者就是推到主页的加载栏 [ 51%]

...DE 是没测试就上线了吗? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接...

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

2366. 高德地图上的这种导航线要怎么画?我知道要使用graphics矢量绘图API。但是不知道这种的线路图如何实现? [ 51%]

...,怎么调用微信小程序API 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. Tween如何实现无限循环改变alpha? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 如何实现微信登录? 有什么容器能够实现当子元素达...

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

2367. [LayaAir IDE 2.0 beta4] 使用 prettier 格式化 ts 插件问题 [ 51%]

[LayaAir IDE 2.0 beta4] 使用 prettier 格式化 ts 插件问题 使用 typescript 来开发。我在使用 prettier 来格式化代码的时候, 会出现问题,重复出现一些代码块追加到文件到末尾上。 vs code 中没有这个问题   .prettierrc { "tabWidth": 2, "singleQuote...

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

2368. list 数据不会及时渲染 [ 51%]

...(index);             if(cell){                 if(evt.type == Event.CLICK){                      //            refreshCard(0,MyHomeModel.intance.tempArr1); //            cardList.refresh(); //            cardList.callLater(refreshCard[0,MyHo...

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

2369. TS 如何调用第三方JS库 [ 51%]

...回复 SONIC3D 赞同来自: cuixueying 去 https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/zip.js 下载zip.js的ts定义头zip.js.d.ts,配合zip.js使用   2016-09-24 1 2 分享 微博 QZONE 微信 cuixueying 赞同来自:   TS下调用第三方JS类库,同原生使用方法...

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

2370. laya.physics.joint.MotorJoint_API3.0 [ 51%]

...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