Exemplo n.º 1
0
    // 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);
    }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     SocketDispatch.On("GVR2", handleMocap);
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     SocketDispatch.On("Wii", handleMocap);
     SocketDispatch.On(Google.Protobuf.VRCom.Update.VrmsgOneofCase.Hydra, handleHydra);
 }
Exemplo n.º 4
0
 // Use this for initialization
 void Start()
 {
     SocketDispatch.On(Google.Protobuf.VRCom.Update.VrmsgOneofCase.Wiimote, handleWiimote);
 }