public void UnlockAchievment(AchievmentType type, string value)
    {
        AchievmentData achievment = _achievmentList.Find(a => a.Type == type && a.Value == value);

        if (achievment != null && !achievment.isUnlocked)
        {
            achievment.isUnlocked = true;
            ShowAchievmentPopUp(achievment);
        }
        Debug.Log("istrigger");
    }
 public AchievmentBase(AchievmentType _Type, AchievmentBreadth _Breadth)
 {
     m_Type    = _Type;
     m_Breadth = _Breadth;
 }
 public PVPStatAchievment(PVPStatType _StatType, int _Stat, AchievmentType _AchievmentType, AchievmentBreadth _Breadth)
     : base(_AchievmentType, _Breadth)
 {
     m_StatType = _StatType;
     m_Stat     = _Stat;
 }
 public ItemAchievment(PlayerData.ItemInfo _Item, AchievmentType _Type, AchievmentBreadth _Breadth)
     : base(_Type, _Breadth)
 {
     m_Item = _Item;
 }
 public ItemsetAchievment(List <PlayerData.ItemInfo> _Items, AchievmentType _Type, AchievmentBreadth _Breadth)
     : base(_Type, _Breadth)
 {
     m_Items = _Items;
 }