示例#1
0
    void Start()
    {
        input = GetComponent <TMPro.TMP_InputField>();
        date  = GetComponent <EntryValue.DateValue>().date;

        //print(ValidateDate("12/4/")); //MM/dd

        //Test("12/4/2019");
        //Test("12/04/2019");
        //Test("13/04/2019");
        //Test("1/2/2020");

        input.onEndEdit.AddListener(UpdateDate);
        //input.onEndEdit.AddListener(ValidateDate);
        //input.onValueChanged.AddListener(ValidateDate);
    }