超大量的更新 修复很多问题,gameplay特效初步
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public enum AchievementRarity
|
||||
{
|
||||
Common, // 普通 (白)
|
||||
Advanced, // 进阶 (绿)
|
||||
Rare, // 卓越 (蓝)
|
||||
Epic, // 史诗 (紫)
|
||||
Legendary, // 传说 (金)
|
||||
Mythic, // 神话 (红)
|
||||
Exquisite // 至臻 (彩)
|
||||
Common,
|
||||
Advanced,
|
||||
Rare,
|
||||
Epic,
|
||||
Legendary,
|
||||
Mythic,
|
||||
Exquisite
|
||||
}
|
||||
|
||||
public enum AchievementCategory
|
||||
@@ -17,28 +18,29 @@ public enum AchievementCategory
|
||||
TotalCure, // 治疗总量
|
||||
TotalDamage, // 伤害总量
|
||||
TotalManaRestored, // 法力恢复总量
|
||||
TotalScore // 总分数
|
||||
TotalScore,
|
||||
Autoplay // 自动打击/观赏模式
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class AchievementLevel
|
||||
{
|
||||
public string levelName; // 等级名称 (例如: 50连击)
|
||||
public float triggerValue; // 触发数值
|
||||
public AchievementRarity rarity; // 稀有度
|
||||
public string description; // 详情介绍 (一行文本)
|
||||
public Sprite icon; // 图标
|
||||
public string levelName;
|
||||
public float triggerValue;
|
||||
public string description;
|
||||
public Sprite icon;
|
||||
public AchievementRarity rarity = AchievementRarity.Common;
|
||||
}
|
||||
|
||||
[CreateAssetMenu(fileName = "NewAchievementCategory", menuName = "EaseOut/Achievement Category")]
|
||||
public class InGameAchievementSO : ScriptableObject
|
||||
{
|
||||
[Header("分类信息")]
|
||||
public string achievementID; // 成就编号
|
||||
public string achievementType; // 成就类型 (string)
|
||||
[Header("Inspector")]
|
||||
public string achievementID;
|
||||
public string achievementType;
|
||||
public AchievementCategory category;
|
||||
public GameObject customPrefab; // 该分类特有的预制体 (可选)
|
||||
|
||||
[Header("成就等级列表")]
|
||||
public System.Collections.Generic.List<AchievementLevel> levels = new System.Collections.Generic.List<AchievementLevel>();
|
||||
public GameObject customPrefab;
|
||||
|
||||
[Header("Inspector")]
|
||||
public List<AchievementLevel> levels = new List<AchievementLevel>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user