コード例 #1
0
 public void Update()
 {
     if (_maybe_done)
     {
         if (_done_timer > _done_threshold)               //indeed done
         {
             this.Mute = true;
             _cs.SendQuery(_to_send);
             _ongoingRecognition = false;
             _save       = true;
             _to_send    = "";
             _done_timer = 0f;
             _maybe_done = false;
         }
         else
         {
             _done_timer += Time.deltaTime;
         }
     }
 }