示例#1
0
    IEnumerator WaitOff()
    {
        desktop.CloseScreen();
        yield return(new WaitForSeconds(0));

        os.StartOS();
        yield return(new WaitForSeconds(5));

        os.FinishOS();
        yield return(new WaitForSeconds(3));

        powerbutton.PushOff();
    }