Exemplo n.º 1
0
 void OnMouseDown()
 {
     //update the list
     dragIngredients.ingredientNames.Clear();
     foreach (string i in placedIngredients.ingredients)
     {
         dragIngredients.AddIngredient(i);
     }
 }
Exemplo n.º 2
0
 void Blend()
 {
     Sounds.BlendSound();
     this.blending          = true;
     pitcherSprite.enabled  = false;
     blendAnimation.enabled = true;
     dragIngredients.AddIngredient("blended");
     StartCoroutine(EndAnimation(blendLength));
 }