_xiaofang/xiaofang/Assets/Bitsplash/Modular Date Picker/TextMeshPro/Script/DatePickerSettings.TextMeshPro.cs
2024-11-29 16:19:12 +08:00

42 lines
885 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Bitsplash.DatePicker
{
partial class DatePickerSettings
{
[SerializeField]
private TextTypeEnum textType;
public TextTypeEnum TextType
{
get { return textType; }
set
{
textType = value;
if (TextTypeChanged != null)
TextTypeChanged();
}
}
[SerializeField]
private TMPro.TMP_FontAsset fontAsset;
public TMPro.TMP_FontAsset FontAsset
{
get { return fontAsset; }
set
{
fontAsset = value;
if (TextTypeChanged != null)
TextTypeChanged();
}
}
}
}