using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace JC.Unity.Picker
{
///
/// 日期选择组
///
public class DatePickerGroup : MonoBehaviour
{
public DateTime minDate, maxDate, selectDate;
public List datePickerList;
[SerializeField] Button btnClose;
[SerializeField] Button btnEnter;
public Action onEnter;
void Awake()
{
minDate = new DateTime(1950, 1, 1, 0, 0, 0);
maxDate = DateTime.Now;
selectDate = new DateTime(2000, 1, 1, 0, 0, 0);
}
void Start()
{
Init();
if (btnClose) {
btnClose.onClick.AddListener(() => {
Destroy(transform.GetComponentInParent