private void SetupAchievementItems() { AchievementProperty[] achievementProperties = Resources.Load <AchievementData>(AchievementData.ResourcePath).achievementProperties; for (int index = 0; index < achievementProperties.Length; index++) { AchievementProperty property = achievementProperties[index]; int achieveLevel = _config.GetAchievementLevel(property.achieveName); _uiController.SetAchievementItem(index, property.achieveName, property.description, property.statusType, property.points[achieveLevel].rewardType.ToString(), property.points[achieveLevel].reward, achieveLevel, property.points[achieveLevel].point, _config.GetStatusPoint(property.statusType.ToString())); } }