public void LookForMessage() { string messsage = connection.GetMessage(); //GameObject.Find("destroyer").GetComponentInChildren<Text>().text = "length: " + messsage.Length + "content: " + messsage; DecodePoints.DecodeAndCreate(messsage); }
public byte[] GetMessage() { return(connection.GetMessage()); }