IEnumerator switchmices() { yield return(new WaitForSeconds(1f)); Debug.Log("switch"); player1.InitMic(); player1._isInitialized = true; Debug.Log("switchdone"); }