Initial Unity project commit

This commit is contained in:
2026-07-08 19:53:15 +08:00
commit 75f254212e
15657 changed files with 11633879 additions and 0 deletions
@@ -0,0 +1,41 @@
using System.Collections.Generic;
using UnityEngine;
namespace Michsky.UI.Reach
{
[CreateAssetMenu(fileName = "New Achievement Library", menuName = "Reach UI/Achievement Library")]
public class AchievementLibrary : ScriptableObject
{
[Space(10)]
public List<AchievementItem> achievements = new List<AchievementItem>();
public enum AchievementType { Common, Rare, Legendary }
public enum DataBehaviour { Default, Unlocked }
[System.Serializable]
public class AchievementItem
{
public string title = "New Achievement";
public Sprite icon;
[TextArea] public string description;
public AchievementType type;
public DataBehaviour dataBehaviour;
[Header("Hidden")]
public bool isHidden;
public string hiddenTitle = "Hidden Achievement";
public Sprite hiddenIcon;
[TextArea] public string hiddenDescription = "This is a hidden achievement and must be unlocked to preview.";
[Header("Localization")]
[Tooltip("If you're not using localization, you can leave this field blank.")]
public string titleKey;
[Tooltip("If you're not using localization, you can leave this field blank.")]
public string decriptionKey;
[Tooltip("If you're not using localization, you can leave this field blank.")]
public string hiddenTitleKey = "AchievementHiddenTitle";
[Tooltip("If you're not using localization, you can leave this field blank.")]
public string hiddenDescKey = "AchievementHiddenDesc";
}
}
}