示例#1
0
    /*
     * We want to end the purchase on the next frame to clear the input buffer.
     */
    private IEnumerator EndPurchase()
    {
        vendingMachineInUse.OnPurchaseEnded();
        yield return(null);

        gameSystem.EndPurchase();
        vendingMachineInUse = null;
    }