private AchievementCell CreateAchievementCell(Transform in_parent = null)
        {
            AchievementCell toReturn = null;

            toReturn = (GEntityFactory.Instance.CreateResourceAtPath("Prefabs/UI/achievementCell", in_parent.transform)).GetComponent <AchievementCell>();
            toReturn.transform.SetParent(in_parent);
            toReturn.transform.localScale = Vector3.one;
            return(toReturn);
        }
        private void PopulateAchievementScrollView(List <AchievementData> in_achievementItems, List <AchievementCell> in_achievementCell, RectTransform in_scrollView)
        {
            RemoveAllCellsInView(in_achievementCell);
            if (in_achievementItems.Count == 0)
            {
                return;
            }

            if (in_scrollView != null)
            {
                List <AchievementData> activeListData = in_achievementItems;
                for (int i = 0; i < activeListData.Count; ++i)
                {
                    AchievementCell newItem = CreateAchievementCell(in_scrollView);
                    newItem.Init(activeListData[i]);
                    newItem.transform.localPosition = Vector3.zero;
                    in_achievementCell.Add(newItem);
                }
            }
        }