private void Update()
 {
     if (Input.GetKeyDown(KeyCode.Escape))
     {
         if (select_category.dropdown.Close_Check() && select_unit.Close_Check())
         {
             gameObject.SetActive(false);
         }
     }
 }
 private void Update()
 {
     if (Input.GetKeyDown(KeyCode.Escape))
     {
         if (timer_manage.gameObject.Close_Check() && select_timer.Close_Check())
         {
             gameObject.SetEnable(false);
         }
     }
 }
Exemple #3
0
 public bool Close_Check()
 {
     return(select_category.dropdown.Close_Check() &&
            select_activity.dropdown.Close_Check() &&
            select_term.Close_Check() && gameObject.Close_Check());
 }