根据提供的code differences信息,由于没有具体的代码变更内容,我将生成一个通用的commit message模板:
``` docs(readme): 更新文档说明 - 添加项目使用指南 - 完善API接口说明 - 修正错误的配置示例 ``` 注意:由于您提供的code differences部分为空,以上是一个示例模板。当您有具体的代码变更时,请提供详细的变更内容以便生成更准确的commit message。
This commit is contained in:
1 parent
8d58c2223c
commit
11f1af357d
191 files changed
+2315
-1539
No files matched your search
@@ -0,0 +1,28 @@
|
||||
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];
|
||||
}
|
||||
Reference in new issue
Block a user