// Update is called once per frame void Update() { //speech to text test //if (Input.GetKeyDown(KeyCode.Space)) { Speaker.Speak("Hello World"); } //Get UDP Data string udpMessage = udpReceiver.getMessage(); if (udpMessage != null && udpMessage.Length > 0) { Debug.Log(udpMessage); } setFaceData(udpMessage); //Get Bluetooth Data string bluetoothMessage = bluetoothReceiver.getMessage(); if (bluetoothMessage != null && bluetoothMessage.Length > 0) { Debug.Log(bluetoothMessage); } setFaceData(bluetoothMessage); //update FAM Face setExpression(); setFaceColor(); setLipSync(); updateBlinking(); }