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 = new DateTime(2050, 1, 1, 0, 0, 0);
selectDate = DateTime.Now;
Init();
}
void Start()
{
if (btnClose) {
btnClose.onClick.AddListener(() => {
Destroy(transform.GetComponentInParent