public static IEnumerator ReleaseKey(KeyCode key) { InputBroker.SetKeyUp(key); yield return(new WaitForEndOfFrame()); InputBroker.DeleteKey(key); }