示例#1
0
 //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));
     }
 }
示例#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));
     }
 }