Exemplo n.º 1
0
    IEnumerator stopRecord()
    {
        yield return(new WaitForSeconds(1.5f));

        startButton.gameObject.SetActive(false);
        MicrophoneHandler.StopRecord();
        Global.ratio = MicrophoneHandler.GetHighestRatio() * 1.4f;
        print("stop Record + " + Global.ratio);
        playerJump();
    }