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

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

1. 计时器-延迟执行 [ 100%]

... = Laya.Event; let vGap = 100; this.button1 = this.createButton("点我3秒之后 alpha - 0.5"); this.button1.x = (Laya.stage.width - this.button1.width) / 2; this.button1.y = (Laya.stage.height - this.button1.height - vGap) / 2; this.button1.on(Event.CLICK, this, this.onDecreaseAlpha1); this.button...

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

2. 骨骼动画-适配版Spine [ 96%]

...ent; import Stat = Laya.Stat; import SpineTemplet = Laya.SpineTemplet;//3.8之后特有的,适用结尾为.skel的资源 import SpineSkeleton = Laya.SpineSkeleton; export class SpineBinary { private aniPath = "res/bone/spineboy-pma.skel"; private templet:SpineTemplet; private skeleton:SpineSkeleto...

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