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.
Problems connecting Host and Client using Transport Layer API
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):
- using UnityEngine;
- using System.Collections;
- using UnityEngine.Networking;
- using System.IO;
- using...