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));
 }