using UnityEngine;
using System.Collections;
using System;
using CrazyMinnow.SALSA;
public class TesteSALSA : MonoBehaviour {
// Reference to the RandomEyes3D class
public RandomEyes3D randomEyes3D;
UdpSrvrSample sl = new UdpSrvrSample();
// Use this for initialization
void Start() {
sl.Listening();
}
// Update is called once per frame
void Update() {
string message = sl.Message;
if (message == "Happy")
{
// Execucao da animacao
randomEyes3D.SetGroup("happy", true);
}
}
}