void OnTriggerEnter(Collider col) { dragon.GetBabyEgg(); PlayerPrefs.SetInt("BabyEgg_2", 1); Score.babyEggsCollected += 1; Destroy(this.gameObject); }