public void UpdateButtonControl(bool isController, ButtonControlNames btnName)
 {
     // TODO
 }
Beispiel #2
0
 // <summary>
 // Checks if the Keycode is clicked (get key down) of both controller and keyboard controls.
 // Also checks against the user's current OS for controller mapping.
 // </summary>
 public bool IsKeyDownOfButtonControl(ButtonControlNames buttonDown)
 {
     return(Input.GetKeyDown(MyGameManager._instance.ButtonControls_Keyboard[buttonDown]) || Input.GetKeyDown(MyGameManager._instance.ButtonControls_Controller[buttonDown]));
 }