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

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

1. 混合模式-Lighter [ 100%]

...nimation(); blendedPhoenix.blendMode = Laya.BlendMode.LIGHTER; // 指定要使用的混合模式 blendedPhoenix.scale(scaleFactor, scaleFactor); blendedPhoenix.y = (Laya.stage.height - phoenixHeight * scaleFactor) / 2; // 正常模式的凤凰 let normalPhoenix = this.createAnimation(); normalPhoeni...

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

2. 加载-销毁Texture使用的图片资源 [ 98%]

... this.spBg.visible = false; this.aniFly.visible = false; //销毁 Texture 使用的图片资源 Laya.loader.clearTextureRes(PathBg); Laya.loader.clearTextureRes(PathFly); this.isDestroyed = true; this.txt.text = "恢复"; } } } new Loader_ClearTextureRes();namespace leo { import Sprite = laya.displa...

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