feat: 移除自适应性能相关配置并调整动画控制器 移除了Unity自适应性能(Adaptive Performance)的相关配置文件, 包括Adaptive Performance文件夹及其子目录中的所有配置文件, 同时移除了移动通知(NotificationSettings)相关配置, 以及第一章第一关(level_chapter1_level1)的关卡配置文件, 还删除了多个材质文件如AdjustableGlowOrb、AdjustableGlowOrbHalo 和Arena相关材质。另外微调了base-人类士兵.controller中状态机 的位置坐标,将x坐标从320调整为330。 ```
25 lines
799 B
C#
25 lines
799 B
C#
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// 阵型数据:阵型编排场景写入,战斗场景读取。
|
|
/// 静态字段在同一个运行会话内跨场景保留;重启游戏会回到「默认阵型」。
|
|
/// </summary>
|
|
public static class FormationData
|
|
{
|
|
/// <summary>出战英雄的 Prefab(按卡位顺序)。</summary>
|
|
public static GameObject[] HeroPrefabs = new GameObject[0];
|
|
|
|
/// <summary>每个英雄所在的格位索引(-1 表示未放置)。</summary>
|
|
public static int[] CellIndices = new int[0];
|
|
|
|
/// <summary>玩家是否手动编排过阵型。</summary>
|
|
public static bool HasCustomFormation;
|
|
|
|
public static void Clear()
|
|
{
|
|
HeroPrefabs = new GameObject[0];
|
|
CellIndices = new int[0];
|
|
HasCustomFormation = false;
|
|
}
|
|
}
|