示例#1
0
 /// <summary>
 /// Change the current Input Handler to a new one. Updates InputHandlerTypes.
 /// </summary>
 /// <param name="newHandler"></param>
 public void TransitionToInputHandler(InputHandler newHandler)
 {
     newHandler.CalledBy(this);
     this.inputHandlerChecks.Clear();
     foreach (InputHandlerType type in inputHandlerTypes)
     {
         type.TryAddHandlers(this);
     }
 }