Beispiel #1
0
 public static InputConfiguration SetNegativeButton(
     this InputConfiguration inputConfiguration,
     MouseButton?mouseButton)
 {
     return(inputConfiguration
            .SetNegativeButton(UnityButtonNameFormat.MouseButtonName(mouseButton)));
 }
Beispiel #2
0
 public static InputConfiguration SetNegativeButton(
     this InputConfiguration inputConfiguration,
     JoystickNumber joystickNumber,
     JoystickButton?joystickButton)
 {
     return(inputConfiguration
            .SetNegativeButton(UnityButtonNameFormat.JoystickButtonName(joystickNumber, joystickButton)));
 }