void OnCollisionEnter2D(Collision2D col) { if (col.gameObject.tag == "Player"){ if(!isFish){ player = col.gameObject.GetComponent<PlayerControl>(); player.pickupCollectible(this.gameObject); followPlayer = true; this.collider2D.enabled = false; ps.Stop(); } else { runAway = true; this.collider2D.enabled = false; ps.Stop(); } } }