1234567891011121314151617181920212223242526272829303132333435363738 |
- using UnityEngine;
- using System.Collections;
- using ICTS.Localization;
- using TMPro;
- public class PopupWindowDialog : MonoBehaviour
- {
- public static PopupWindowDialog Instance;
- public TextMeshProUGUI Label;
- void Start()
- {
- Instance = this;
- }
- public void FirstNotification()
- {
- Label.text = Localization.instance.Get("timeupFirst2017.text");
- //Label.text = Localization.instance.Get("timeupFirst.text");
- }
- public void NotificationAfterLevelFive()
- {
- Label.text = Localization.instance.Get("timeup5.text");
- }
- public void NotificationAfterLevelNine()
- {
- Label.text = Localization.instance.Get("timeup9.text");
- }
- public void NotificationWin()
- {
- Label.text = Localization.instance.Get("timeup10.text");
- }
- public void NotificationAfterWin()
- {
- Label.text = Localization.instance.Get("timeup10.more.text");
- }
- }
|