Beispiel #1
0
    public void LookForMessage()
    {
        string messsage = connection.GetMessage();

        //GameObject.Find("destroyer").GetComponentInChildren<Text>().text = "length: " + messsage.Length + "content: " + messsage;
        DecodePoints.DecodeAndCreate(messsage);
    }
Beispiel #2
0
    public void OnValueChanged(float newValue)
    {
        z = newValue;
        Text myText;

        myText      = GameObject.Find("distance").GetComponent <Text>();
        myText.text = "Distance: " + z;
        DecodePoints.SetZ(z);
    }