Ejemplo n.º 1
0
 void Start()
 {
     pourSim                    = GetComponentInChildren <PourSimulator>();
     requestedBaseType          = Ingredients.BaseType.NO_BASE;
     requestedMixerType         = Ingredients.MixerType.NO_MIXER;
     requestedAlcoholPercentage = -1f;
 }
Ejemplo n.º 2
0
    IEnumerator DepleteDrink(float delay)
    {
        yield return(new WaitForSeconds(delay));

        PourSimulator pourSimulator = GetComponentInChildren <PourSimulator>();

        pourSimulator.Empty();

        FindObjectOfType <AudioController>().gulp.Play();
    }
Ejemplo n.º 3
0
    public void ShrinkLiquid()
    {
        PourSimulator liquid = GetComponentInChildren <PourSimulator>();

        liquid.Empty();
    }