Ejemplo n.º 1
0
    public void OnEvent(EventData photonEvent)
    {
        if (photonEvent.Code == 0)
        {
            uiPanelManager.EnableRoomPanel();
        }

        else if (photonEvent.Code == 1)
        {
            uiPanelManager.EnableScoreboardPanel();
        }
    }