feat: 移除自适应性能相关配置并调整动画控制器 移除了Unity自适应性能(Adaptive Performance)的相关配置文件, 包括Adaptive Performance文件夹及其子目录中的所有配置文件, 同时移除了移动通知(NotificationSettings)相关配置, 以及第一章第一关(level_chapter1_level1)的关卡配置文件, 还删除了多个材质文件如AdjustableGlowOrb、AdjustableGlowOrbHalo 和Arena相关材质。另外微调了base-人类士兵.controller中状态机 的位置坐标,将x坐标从320调整为330。 ```
29 lines
805 B
C#
29 lines
805 B
C#
using UnityEngine;
|
|
|
|
/// <summary>一名出战英雄的配置。</summary>
|
|
[System.Serializable]
|
|
public class HeroEntry
|
|
{
|
|
[Tooltip("显示在卡片上的名字")]
|
|
public string displayName;
|
|
|
|
[Tooltip("战斗场景里生成的单位 Prefab")]
|
|
public GameObject prefab;
|
|
|
|
[Tooltip("卡片头像,可为空")]
|
|
public Sprite icon;
|
|
|
|
[Tooltip("近战 = 默认阵型时放在前排")]
|
|
public bool isMelee;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 出战英雄名单:阵型编排场景和战斗场景共用同一份数据资产。
|
|
/// 后续接入卡组系统后,由卡组编辑页写入这里。
|
|
/// </summary>
|
|
[CreateAssetMenu(fileName = "HeroRoster", menuName = "召唤之战/出战英雄名单")]
|
|
public class HeroRoster : ScriptableObject
|
|
{
|
|
public HeroEntry[] heroes = new HeroEntry[0];
|
|
}
|