Click or drag to resize

PlayerGetButtonSinglePressDown Method

Overload List
  NameDescription
Public methodGetButtonSinglePressDown(Int32)
Gets the button just single pressed and held state of an Action. This will return TRUE for only the first frame after a button press and after the double press timeout has expired. This will never return TRUE if a double press occurs. This method is delayed because it only returns TRUE after the double press timeout has expired. Only use this method if you need to check for both a single press and a double press on the same Action. Otherwise, use GetButtonDown instead for instantaneous button press detection. The double press speed is set in the InputBehavior assigned to the Action.
Public methodGetButtonSinglePressDown(String)
Gets the button just single pressed state of an Action. This will return TRUE for only the first frame after a button press and after the double press timeout has expired. This will never return TRUE if a double press occurs. This method is delayed because it only returns TRUE after the double press timeout has expired. Only use this method if you need to check for both a single press and a double press on the same Action. Otherwise, use GetButtonDown instead for instantaneous button press detection. The double press speed is set in the InputBehavior assigned to the Action.
Top
See Also