Ejemplo n.º 1
0
    private void OnPlayerRemoved(PlayerLobbyData playerData)
    {
        Debug.LogFormat("P{0} Dropped", playerData.m_PlayerIndex + 1);

        UILobbyPlayerLabel label = m_PlayerLabels[playerData.m_PlayerIndex];

        label.AnimateShow(false);
    }
Ejemplo n.º 2
0
    private void OnPlayerAdded(PlayerLobbyData playerData)
    {
        Debug.LogFormat("P{0} Joined", playerData.m_PlayerIndex + 1);

        UILobbyPlayerLabel label = m_PlayerLabels[playerData.m_PlayerIndex];

        label.Init(playerData);
        label.AnimateShow(true);
    }