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

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