示例#1
0
 /// <summary>
 /// Returns true the first frame the user releases the virtual button.
 /// </summary>
 /// <returns><c>true</c>, if user releases the button during the frame, <c>false</c> otherwise.</returns>
 //// <param name="button">KeyMapping instance.</param>
 /// <param name="exactKeyModifiers">If set to <c>true</c> check that only specified key modifiers are active, otherwise check that at least specified key modifiers are active.</param>
 public static bool GetButtonUp(KeyMapping button, bool exactKeyModifiers = false)
 {
     return button.isPressedUp(exactKeyModifiers, mInputDevice);
 }