//Auto mode selection public void ButtonAuto() { StopAllCoroutines(); UIChoose.SetActive(false); UI.SetActive(false); autoMove = true; start = false; UIAdd.SetActive(true); UIConver.SetActive(false); UIStatus.SetActive(false); indexAuto = 0; }
//start private void Start() { audioSource = GetComponent <AudioSource>(); if (keywords != null) { recognizer = new KeywordRecognizer(keywords, confidence); recognizer.OnPhraseRecognized += Recognizer_OnPhraseRecognized; recognizer.Start(); } //UI start Randoms(); pointText.text = " 0 "; UiEnd.SetActive(false); UIStatus.SetActive(false); UI.SetActive(false); UIChoose.SetActive(false); UIAdd.SetActive(false); UIConver.SetActive(false); }
public void CloseAdd() { UIConver.SetActive(false); }
public void clickAdd() { UIConver.SetActive(true); }