Example #1
0
 public void EnableGameplayInput(bool enabled)
 {
     if (enabled)
     {
         user.AssociateActionsWithUser(gameplayInput);
         user.ActivateControlScheme(this.schemeName);
         gameplayInput.Enable();
     }
     else
     {
         gameplayInput.Disable();
     }
 }