Esempio n. 1
0
    public static IEnumerator HoldKey(KeyCode key)
    {
        InputBroker.SetKeyDown(key);
        yield return(new WaitForEndOfFrame());

        InputBroker.SetKey(key);
    }