Ejemplo n.º 1
0
    // Handle a network player signalling ready
    public void OnNetworkReady()
    {
        Audio.PlayMenuSound();

        // Hide "best of" selector arrows for local player
        LeftArrow.gameObject.SetActive(false);
        RightArrow.gameObject.SetActive(false);

        PUNNetworkPlayer.GetLocalPlayer().SetAsReady();
        OnPlayerSignalReady();
    }