protected void LoadAchievementDescriptionsFinished(AchievementDescription[] _descriptions, string _error)
        {
            AchievementHandler.SetAchievementDescriptionList(_descriptions);

            // Send callback
            if (LoadAchievementDescriptionsFinishedEvent != null)
            {
                LoadAchievementDescriptionsFinishedEvent(_descriptions, _error);
            }
        }
Example #2
0
        protected void OnLoadAchievementDescriptionsFinished(AchievementDescription[] _descriptionList)
        {
            // Notify Achievement Handler about new description list
            AchievementHandler.SetAchievementDescriptionList(_descriptionList);

            // Completion handler is called
            if (m_loadAchievementDescriptionCallback != null)
            {
                m_loadAchievementDescriptionCallback(_descriptionList);
            }
        }