コード例 #1
0
    private IEnumerator _StartArenaFight()
    {
        notifications.ShowStartArena();
        if (gameCamera)
        {
            gameCamera.EnableArenaCamera();
        }
        yield return(new WaitForSeconds(4));

        foreach (var player in joinedPlayers)
        {
            player.Arena.OnFightStart();
        }

        CloseGate();
        Debug.Log("Arena fight begins!");
    }