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

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

281. laya.physics.PhysicsDebugDraw_API3.0 [ 72%]

...用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierar...

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

282. Sprite cacheAs问题 [ 72%]

Sprite cacheAs问题 我写麻将游戏时(用canvas模式),对打出的牌的Sprite容器进行cacheAs优化(normal和bitmap)。   出现了下面问题。   没有优化的时候, Drawcall很大,200多。但是Mem很小不到20M   但是做了cacheAs优化 tdapai.cacheAs = 'norma...

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

283. laya.map.TileAniSprite_API3.0 [ 72%]

...tected All Inherited Externals Only exported Menu Globals "laya/map/TileAniSprite" TileAniSprite Class TileAniSprite TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) author ... Hierarchy Sprite TileAniSprite Index Constructors c...

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

284. 添加的碰撞体位置不对问题 [ 72%]

...被折叠 要回复问题请先登录 发起人 吴杨俊文 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 unity导出粒子文件问题 laya针对页游耗用内存大的问题是如何解决的? LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版...

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

285. 添加或修改物理ChainCollider属性points时,报错 [ 72%]

....ChainCollider=new Laya.ChainCollider(); chains.points="25,25,50,50"; this.sprite.addComponent(chains); 情况2:修改已有ChainCollider属性points时报错 在sprite下手动添加组建ChainCollider,使用代码更改属性points,则报错 var chains=this.sprite.getComponent(Laya.ChainColl...

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

286. list的滚动框是啥怎么设置大小高度和宽度 [ 72%]

...要回复问题请先登录 发起人 132*****180 相关问题 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有几率会穿透 matter中layasprite怎么改变图片大小? list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动...

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

287. 循环添加一组按钮事件无法正常使用 [ 72%]

...checkLoc[eggLoc[i][0]][eggLoc[i][1]]= 1;                 var b:Sprite = new Sprite();                 //var c = this.getChildByName("eggHole"+[eggLoc[i][0]+eggLoc[i][1]);                 b.graphics.drawTexture(Laya.loader.getRes(Res),tx-45,ty-45);          ...

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

288. laya.media.SoundNode_API3.0 [ 72%]

...de Class SoundNode 用于播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alp...

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

289. laya.map.GridSprite_API3.0 [ 72%]

...Protected All Inherited Externals Only exported Menu Globals "laya/map/GridSprite" GridSprite Class GridSprite 地图的每层都会分块渲染处理 本类就是地图的块数据 author ... Hierarchy Sprite GridSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseU...

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

290. laya.particle.Particle2D_API3.0 [ 72%]

..." Particle2D Class Particle2D Particle2D 类是2D粒子播放类 Hierarchy Sprite Particle2D Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHie...

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