public override bool InitDevice()
 {
     try
     {
         disconn = new DisConnectedCallBack(DisConnectedCallBack);
         conn    = new ConnectedCallBack(ReconnectDeviceCallBack);
         NoloVR_Plugins.API_1_0_0.disConnenct_FunCallBack(disconn);
         NoloVR_Plugins.API_1_0_0.connectSuccess_FunCallBack(conn);
         playformError = NoloError.NoConnect;
     }
     catch (Exception)
     {
         Debug.Log("NoloVR_WinPlayform InitDevice:error");
         return(false);
     }
     ConnectDevice();
     return(true);
 }
Exemple #2
0
 public static extern bool connectSuccess_FunCallBack(ConnectedCallBack callback);