Example #1
0
 private void CreateInputUser(ConGameInputBindings.BindingTypes bindingType)
 {
     if (bindingType != ConGameInputBindings.BindingTypes.None)
     {
         InputUser user = gameObject.AddComponent <InputUser>();
         allInputUsers.Add(bindingType, user);
         user.SetInputUsing(bindingType);
         user.InputEvent += OnInputEvent;
     }
 }