Esempio n. 1
0
 void OnApplicationPause(bool paused)
 {
     if (null == keyboardProvider)
     {
         return;
     }
     if (paused)
     {
         keyboardProvider.OnPause();
     }
     else
     {
         keyboardProvider.OnResume();
     }
 }
Esempio n. 2
0
    private void OnApplicationPause(bool paused)
    {
        if (keyboardProvider == null)
        {
            return;
        }

        if (paused)
        {
            keyboardProvider.OnPause();
        }
        else
        {
            keyboardProvider.OnResume();
        }
    }