public void Btn_Add_Timer()
    {
        if (!Timer_Input_Valid_Check())
        {
            return;
        }

        var timer = new Timer_Setting();

        timer.name     = input_timer_name.text;
        timer.repeat   = int.Parse(input_timeset_repeat.text);
        timer.timesets = timesets;

        DataController.instance.Add_Timer(timer);

        Update_Timer_Container();
        Btn_Reset();
    }
Beispiel #2
0
 public void Add_Timer(Timer_Setting _input)
 {
     timer_settings.Add(_input);
     Save(timer_settings, TIMER);
 }