public void Awake() { if (_instance != null) { Debug.Log("Why is there already a network state manager?"); } _instance = this; }
void Start() { nsm = new NetworkStateManager(this); console = gameObject.GetComponent <Console> (); InvokeRepeating("Loop", 0F, 0.5F); }
public Server(NetworkStateManager nsm, MonoBehaviour monoBehaviour, string gameName) : base(nsm, monoBehaviour) { gameName_ = gameName; }
public Client(NetworkStateManager nsm, MonoBehaviour monoBehaviour) : base(nsm, monoBehaviour) { }
public NetInstance(NetworkStateManager nsm, MonoBehaviour monoBehaviour) { nsm_ = nsm; playerList = new NetworkPlayerList(monoBehaviour); chat = new Noir.Network.ChatManager(monoBehaviour, playerList); }