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

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

321. 骨骼动画-Spine事件 [ 74%]

...a.EventData; var Skeleton = Laya.Skeleton; var Templet = Laya.Templet; var Sprite = Laya.Sprite; var Event = Laya.Event; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var Tween = Laya.Tween; var WebGL = Laya.WebGL; var mAniPath; var mStartX = 400; var mStartY = 500; v...

来源: Laya_示例 发布时间: 20240930

322. 关于TiledMap 坐标计算 响应区域问题 [ 74%]

...个矩形对象,响应不是我所看到地方。 2.我希望添加一个sprite到这个矩形上,但是坐标怎么都对不上。因为我需要在这个矩形对象上 建造 升级 sprite会一直换 大小也有可能会变,讲下计算方式。   demo已经上传附件。 附件 : --> t...

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

323. laya.display.FrameAnimation [ 74%]

...sspublic class FrameAnimationInheritanceFrameAnimation AnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 关键帧动画播放类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值...

来源: laya_api 发布时间: 20170929

324. 骨骼动画如何响应点击事件? [ 74%]

...画播放完后的回调时间 Animation如何加点击事件 如何设置Sprite的宽高和点击区域? ui list 里面的元素不能点击两次 关于遍历产生的sprite的点击事件,急,大神帮看哈 问题状态 最新活动: 2018-09-09 00:50 浏览: 1446 关注: 1 人 赵伟凡 ...

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

325. laya.ui.TipManager [ 74%]

...Packagelaya.uiClasspublic class TipManagerInheritanceTipManager Component Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透...

来源: laya_api 发布时间: 20170929

326. 鼠标交互-双指旋转(多点触控) [ 74%]

...age.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.createSprite(); Laya.stage.on(Event.MOUSE_UP, this, this.onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, this.onMouseUp); } createSprite() { const Sprite = Laya.Sprite, Event = Laya.Event; let w = 200, h = 300; this.sp = new Sprit...

来源: Laya2.0_示例 发布时间: 20240930

327. laya.ui.Dialog [ 74%]

...Packagelaya.uiClasspublic class DialogInheritanceDialog View Box Component Sprite Node EventDispatcher ObjectSubclasses AsynDialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边...

来源: laya_api 发布时间: 20170929

328. 如何获得特效的宽高 [ 74%]

...关问题 缓动Tween能用在3D物体或者特效上面吗? 如何设置Sprite的宽高和点击区域? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 做好的粒子特效在U3D里循环正常。在LAYA插件里预览跳帧闪烁。序...

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

329. laya.ui.HBox [ 74%]

...ackagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box Component Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...

来源: laya_api 发布时间: 20170929

330. laya.ui.TipManager [ 74%]

...ackagelaya.uiClasspublic class TipManagerInheritanceTipManager UIComponent Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierar...

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