Example #1
0
    private void OnMouseUp()
    {
        foreach (Collider2D hitTargets in Physics2D.OverlapCircleAll(transform.position, .75f))
        {
            if (hitTargets.tag == "Player")
            {
                blender.Add(ingredient);
            }
        }

        isHeld = false;
        transform.localPosition = startPos;
    }