void OnTriggerEnter(Collider col)
{
if (col.gameObject.tag=="Player") //make sure collide is with palyer
{
//play eating audio
AudioSource eatAudio = GameObject.FindGameObjectWithTag("EatCookieAudio").GetComponent<AudioSource>();
eatAudio.Play();
this.setPickedUp();//set cookie to pickup
col.gameObject.GetComponent<PlayerInventory>().IncreaseCookieCount();
}
}