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