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

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