Exemplo n.º 1
0
        private void Start()
        {
            Instance = this;

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