/// <summary> /// Returns time of pressing. /// </summary> /// <param name="chirality">Controller chirality</param> /// <param name="element">Controller element</param> /// <returns>Controller element pressing time.</returns> public static float GetPressTime(FinchChirality chirality, FinchControllerElement element) { if (chirality > FinchChirality.Left) { throw new ArgumentException(); } return(FinchInput.GetPressTime((FinchNodeType)chirality, element)); }
/// <summary> /// Returns time of pressing. /// </summary> /// <param name="element">Controller element</param> /// <returns>Controller element press time state.</returns> public float GetPressTime(FinchControllerElement element) { return(FinchInput.GetPressTime(Node, element)); }
/// <summary> /// Returns time of pressing. /// </summary> /// <param name="chirality">Controller chirality</param> /// <param name="element">Controller element</param> /// <returns>Controller element pressing time.</returns> public static float GetPressTime(FinchChirality chirality, FinchControllerElement element) { return(FinchInput.GetPressTime((FinchNodeType)chirality, element)); }