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

Problems connecting Host and Client using Transport Layer API

$
0
0
Hi there!
I am having trouble trying to send simple messages from one instance of my game to another.
To try out the Transport Layer API I created a new script which does different thing for whether the instance is supposed to be a client or a host. Because the script is just to test things out I repurpose "Join" to send messages if i execute it after running it for the first time.

Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3. using UnityEngine.Networking;
  4. using System.IO;
  5. using...
Problems connecting Host and Client using Transport Layer API

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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