示例#1
0
 public static float GetAxisRawOrDefault(this IInputSource source, InputAction action,
                                         float defaultValue = 1)
 {
     return(CheckSourceValid(source) ? source.GetAxisRaw(action) : defaultValue);
 }