123456789101112131415161718192021222324252627282930 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Bitsplash.DatePicker
- {
- [Serializable]
- public class DatePickerDropDownTextMeshPro : DatePickerDropDownBase
- {
- public TMPro.TextMeshProUGUI Label= null;
- public Action<string> GetDateString;
-
- protected override void SetText(string text)
- {
- if (Label != null)
- Label.text = text;
-
- GetDateString?.Invoke(text);
- }
- public void SetLabelText(string text)
- {
- if (Label != null)
- Label.text = text;
- }
- }
- }
|