public void GetDoll() { Debug.Log("ユニティちゃん"); clearUI.SetActive(true); //再生 Invoke("unableClearUI", 3f); sound_get.PlayOneShot(sound_get.clip); leding = true; LED1(); motor.MoveMotor(); Invoke("off", 5f); }