public Client() { if (Instance == null) { Instance = this; } else if (Instance != this) { //this = null; //delete(this); throw new InvalidOperationException("Could not Create a new client, because an instance already Exists"); //return; } //this.id = id; tcp = new TCP(); udp = new UDP(); }
private void Start() { tcp = new TCP(); udp = new UDP(); }
private Client() { Get = this; tcp = new TCP(); udp = new UDP(); }