PopupWindowDialog.cs 803 B

123456789101112131415161718192021222324252627282930313233343536
  1. using UnityEngine;
  2. using System.Collections;
  3. public class PopupWindowDialog : MonoBehaviour
  4. {
  5. public static PopupWindowDialog Instance;
  6. public UILabel Label;
  7. void Start()
  8. {
  9. Instance = this;
  10. }
  11. public void FirstNotification()
  12. {
  13. Label.text = Localization.instance.Get("timeupFirst2017.text");
  14. //Label.text = Localization.instance.Get("timeupFirst.text");
  15. }
  16. public void NotificationAfterLevelFive()
  17. {
  18. Label.text = Localization.instance.Get("timeup5.text");
  19. }
  20. public void NotificationAfterLevelNine()
  21. {
  22. Label.text = Localization.instance.Get("timeup9.text");
  23. }
  24. public void NotificationWin()
  25. {
  26. Label.text = Localization.instance.Get("timeup10.text");
  27. }
  28. public void NotificationAfterWin()
  29. {
  30. Label.text = Localization.instance.Get("timeup10.more.text");
  31. }
  32. }