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

大约有 2,610 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0087 秒)

291. laya.particle.Particle2D [ 80%]

...nts Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node...

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

292. DialogManager怎么添加遮罩层 [ 80%]

...ogManager怎么添加遮罩层 var dialogManager =new DialogManager(); var sprite1=new Laya.Sprite(); sprite1.loadImage("scdlb/首充大礼包通用素材/通用素材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dia...

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

293. laya.map.GridSprite [ 80%]

...cumentationAll Packages | All Classes | Index | Frames No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public Properti...

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

294. DialogManager怎么添加遮罩层 [ 80%]

...anager怎么添加遮罩层   var dialogManager =new DialogManager(); var sprite1=new Laya.Sprite(); sprite1.loadImage("scdlb/首充大礼包通用素材/通用素材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dia...

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

295. laya.html.dom.HTMLDivElement [ 80%]

...kagelaya.html.domClasspublic class HTMLDivElementInheritanceHTMLDivElement Sprite Node EventDispatcher ObjectSubclasses HTMLIframeElement HTML图文类,用于显示html内容 支持的标签如下: a:链接标签,点击后会派发"link"事件 比如:a div:div容器标签,比如: span:行内...

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

296. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 80%]

精灵(Sprite)一、概述二、IDE中使用2.1 创建精灵2.2 基础属性2.3 Sprite的特有属性2.4 其它属性2.5 脚本控制属性三、代码中使用3.1 创建Sprite3.2 显示图片3.3 基础属性3.4 其它属性精灵(Sprite) 一、概述 游戏中Sprite精灵是在屏幕中能...

来源: Laya3.0_文档 发布时间: 20250103

297. Laya2.5,在box下创建sprite,rendertype为mask,编辑器卡死,重复了几次都这样 [ 80%]

Laya2.5,在box下创建sprite,rendertype为mask,编辑器卡死,重复了几次都这样 不知道是我用法不对吗,还是编辑器确实有这个问题 2020-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...

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

298. laya.ui.ScaleBox [ 80%]

...ackagelaya.uiClasspublic class ScaleBoxInheritanceScaleBox Box UIComponent Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inher...

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

299. LayaBox进阶之UI管理类 [ 80%]

...  新建一个UIManagerexport class UIManager { private mainContent: Laya.Sprite; private scene: GameScence; private uiList:any; constructor() { this.mainContent = new Laya.Sprite(); this.uiList = ; } }mainContent 为默认添加到的层级, GameScence 为UI管理器默认场景 uiList放所有...

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

300. 用drawPie绘制的sprite用于遮罩mask,会出现错乱。 [ 80%]

用drawPie绘制的sprite用于遮罩mask,会出现错乱。 在frameLoop下,每次执行graphics.clear(),graphics.drawPie(...),扇形本身是没有问题的,但用于mask后,会出现显示混乱:抖动、漏线。具体如图: 附件 : --> 2017-03-08 添加评论 免费帖 --> 分...

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