//Use previous caller if no PlayerInput is specified
 //(example: pressing an UI button resumes the game)
 public void FlipPauseState()
 {
     if (cPlayerCore != null)
     {
         cPlayerCore.EnableControls(!FlipPauseState(cPlayerCore));
     }
 }
Exemple #2
0
 //Use previous caller if no PlayerInput is specified
 //(example: pressing an UI button resumes the game)
 public void FlipPauseState()
 {
     if (caller != null)
     {
         caller.EnableControls(!FlipPauseState(caller));
     }
 }