コード例 #1
0
 public Button(ButtonServer buttonServer)
 {
     this._buttonServer = buttonServer;
 }
コード例 #2
0
ファイル: UIVA.cs プロジェクト: AhnBCILab/Openvibe2Unity
        int numOfButt = 6;  // You can use the number of buttons as you need by chainging this value.

        public UIVA_UnityToOpenvibeButton()
        {
            vrpnConnection  = Connection.CreateServerConnection(50555);// port number
            unityButtServer = new ButtonServer("unity_button@localhost", vrpnConnection, 32);
            unityButtServer.MuteWarnings = true;
        }
コード例 #3
0
        int buttNums = 4;  // You can use the number of buttons as you need by chainging this value.

        public UIVA_ButtonServer()
        {
            vrpnConnection          = Connection.CreateServerConnection(50555);                      // port number
            buttServer              = new ButtonServer("button_test@localhost", vrpnConnection, 32); // 마지막은 버튼 개수
            buttServer.MuteWarnings = true;
        }