IEnumerator WaitOn() { powerbutton.PushOn(); yield return(new WaitForSeconds(3)); os.StartOS(); yield return(new WaitForSeconds(5)); os.FinishOS(); print("here"); desktop.Openscreen(); }
IEnumerator WaitOn() { powerbutton.PushOn(); yield return(new WaitForSeconds(3)); os.StartOS(); yield return(new WaitForSeconds(5)); os.FinishOS(); print("here"); desktop.Openscreen(); }