根据提供的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,24 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user