volatile public bool is_work_wait = true; // 実行中なので、_Update時に待機させる

            public void Wait(int wait)
            {
                wait_timer   = wait;
                is_work_wait = false;
                while (wait_timer > 0)
                {
                    WaitSleep.Do(0);
                }
                is_work_wait = true;
            }
 public void _Update()
 {
     if (wait_timer != 0)
     {
         wait_timer--;
         if (wait_timer <= 0)
         {
             wait_timer = 0;
         }
     }
     while (is_work_wait)
     {
         WaitSleep.Do(0);
     }
 }