Example #1
0
 void OnApplicationPause(bool paused)
 {
     if (null == controllerProvider)
     {
         return;
     }
     if (paused)
     {
         controllerProvider.OnPause();
     }
     else
     {
         controllerProvider.OnResume();
     }
 }
Example #2
0
 void OnApplicationPause(bool paused)
 {
     Debug.Log("GvrController: application " + (paused ? "paused" : "resumed"));
     if (null == controllerProvider)
     {
         return;
     }
     if (paused)
     {
         controllerProvider.OnPause();
     }
     else
     {
         controllerProvider.OnResume();
     }
 }
Example #3
0
 void OnApplicationPause(bool paused)
 {
     if (null == controllerProvider)
     {
         return;
     }
     if (paused)
     {
         controllerProvider.OnPause();
     }
     else
     {
         handedness = GvrSettings.Handedness;
         controllerProvider.OnResume();
     }
 }