123456789101112131415161718192021222324252627282930313233343536 |
- using UnityEngine;
- using System.Collections;
- public class PopupWindowDialog : MonoBehaviour
- {
- public static PopupWindowDialog Instance;
- public UILabel 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");
- }
- }
|