12345678910111213141516171819 |
- 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);
- }
- }
|