using UnityEngine; using System.Collections; public class UnlockedAchievementPopup : ScreenBase { public UILabel title; public UILabel description; public void SetData(FaceBookAchievement achievement, int index, int totalAchievementsUnlockedInLastPlay) { title.text = index+"/"+totalAchievementsUnlockedInLastPlay +" "+achievement.title; description.text = achievement.description; } void OnButtonOKMessage() { NotificationCenter.Post(NotificationType.ShowNextUnlockedAchievement); } }