PopupWindowDialog.cs 849 B

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