Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Change a variable to each time that someone connects on the server.

$
0
0
Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class NetworkManager : MonoBehaviour {
  5.  
  6.     public bool isVisible;
  7.     public GameObject chatSystem;
  8.     string registeredGameName = "PhoenixGames_networking_test_server_multi-CUBEMOBA";
  9.     bool isRefreshing = false;
  10.     bool joined;
  11.     float refreshRequestLength = 3.0f;
  12.     HostData[] hostData;
  13.     public GameObject characterSelectSystem;
  14.     public GameObject characterSelectSystemGame;
  15.     public string serverName;...
Change a variable to each time that someone connects on the server.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>