DatePickerSettings.TextMeshPro.cs 926 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using UnityEngine;
  7. namespace Bitsplash.DatePicker
  8. {
  9. partial class DatePickerSettings
  10. {
  11. [SerializeField]
  12. private TextTypeEnum textType;
  13. public TextTypeEnum TextType
  14. {
  15. get { return textType; }
  16. set
  17. {
  18. textType = value;
  19. if (TextTypeChanged != null)
  20. TextTypeChanged();
  21. }
  22. }
  23. [SerializeField]
  24. private TMPro.TMP_FontAsset fontAsset;
  25. public TMPro.TMP_FontAsset FontAsset
  26. {
  27. get { return fontAsset; }
  28. set
  29. {
  30. fontAsset = value;
  31. if (TextTypeChanged != null)
  32. TextTypeChanged();
  33. }
  34. }
  35. }
  36. }