示例#1
0
    IEnumerator MakeMenuAppear()
    {
        yield return(new WaitForSeconds(menuReapearDelay));

        if (player.velocity.magnitude < 0.01f)
        {
            menuButton.ActivateMenuButtons(menuID);
        }
        block = false;
    }