Example #1
0
        private void Start()
        {
            Instance = this;

            if (LobbyPlayer.localPlayer && !LobbyPlayer.localPlayer.isServer)
            {
                startGameButton.SetActive(false);
            }
        }
Example #2
0
 void Teste()
 {
     if (isLocalPlayer)
     {
         localPlayer = this;
     }
     lobbyUIController = FindObjectOfType <LobbyUIController>();
     //lobbyUIController.AddPlayerLine(this);
 }
Example #3
0
 private void OnDestroy()
 {
     Instance = null;
 }