void Update() { SerialIO.Write(on ? "1" : "0"); on = !on; string rString = SerialIO.Read(); Debug.Log(rString); }