void Start() { if (!isServer) { network.StartClient(); } }
public void ConnectToServer() { Debug.Log("connectionToServer"); if (!IsServer) { networkmanager.StartClient(); } }
public void JoinButton() { network.networkAddress = serverCode.text; network.StartClient(); }