// Use this for initialization void Start() { wordclips.Add("yes", Resources.Load("Yes - Maria") as AudioClip); wordclips.Add("no", Resources.Load("No - Maria") as AudioClip); wordmakerScript = wordmaker.GetComponent <MonoBehaviour>() as makeaword; SocketDispatch.On(Google.Protobuf.VRCom.Update.VrmsgOneofCase.Hydra, handleHydra); SocketDispatch.On(Google.Protobuf.VRCom.Update.VrmsgOneofCase.Wiimote, handleWii); SocketDispatch.On("Wii", handleWiiMocap); }
// Use this for initialization void Start() { SocketDispatch.On("GVR2", handleMocap); }
// Use this for initialization void Start() { SocketDispatch.On("Wii", handleMocap); SocketDispatch.On(Google.Protobuf.VRCom.Update.VrmsgOneofCase.Hydra, handleHydra); }
// Use this for initialization void Start() { SocketDispatch.On(Google.Protobuf.VRCom.Update.VrmsgOneofCase.Wiimote, handleWiimote); }