技能主要更新,修复卡顿并加入动画,以及各种其他更新。
This commit is contained in:
@@ -16,7 +16,8 @@ public enum AchievementCategory
|
||||
Combo, // 连击类
|
||||
TotalCure, // 治疗总量
|
||||
TotalDamage, // 伤害总量
|
||||
TotalManaRestored // 法力恢复总量
|
||||
TotalManaRestored, // 法力恢复总量
|
||||
TotalScore // 总分数
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
|
||||
@@ -114,6 +114,15 @@ public class InGamePerformanceManager : MonoBehaviour
|
||||
CheckAchievementsByCategory(AchievementCategory.TotalManaRestored, totalMana);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新本局总分数并检查成就
|
||||
/// </summary>
|
||||
public void UpdateTotalScore(float totalScore)
|
||||
{
|
||||
Debug.Log($"[PerformanceManager] UpdateTotalScore called with: {totalScore}");
|
||||
CheckAchievementsByCategory(AchievementCategory.TotalScore, totalScore);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 通用的成就检测逻辑
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user