예제 #1
0
 public static void Update()
 {
     foreach (IAction action in registeredActions.Values)
     {
         // assume user index is 0 for now
         // this check makes sure that if it's an analog action that the controller is connected
         if (!(action is IAnalogAction && !ControllerInput.ControllerConnected(0)))
         {
             action.Update();
         }
     }
 }