Quantcast
Viewing all articles
Browse latest Browse all 2891

error CS0023: Operator '.' cannot be applied to operand of type 'void' I am trying to disable a void and don't know excactly how.

void Update() { if (Input.GetKey(KeyCode.Q)) { StartCoroutine(isssinsideCoroutine()); } } IEnumerator isssinsideCoroutine() { Update().SetActive(false); yield return new WaitForSeconds(1); Update().SetActive(true); }

Viewing all articles
Browse latest Browse all 2891

Trending Articles