IsNeutral() public static method

public static IsNeutral ( AxisBinding axis ) : bool
axis AxisBinding
return bool
示例#1
0
 public static bool hasPitchInput()
 {
     return(GameSettings.PITCH_DOWN.GetKey() || GameSettings.PITCH_UP.GetKey() || !Utils.IsNeutral(GameSettings.AXIS_PITCH));
 }
示例#2
0
 public static bool hasRollInput()
 {
     return(GameSettings.ROLL_LEFT.GetKey() || GameSettings.ROLL_RIGHT.GetKey() || !Utils.IsNeutral(GameSettings.AXIS_ROLL));
 }
示例#3
0
 public static bool hasYawInput()
 {
     return(GameSettings.YAW_LEFT.GetKey() || GameSettings.YAW_RIGHT.GetKey() || !Utils.IsNeutral(GameSettings.AXIS_YAW));
 }