void OnTriggerEnter2D(Collider2D hitInfo) { if (hitInfo.gameObject.tag == "Player") { Gate_1.SetActive(true); Boss.SetActive(true); levelMusic.LevelSong.Stop(); Destroy(Pause); BossStart.OpenAnimation(); Frames.SetActive(false); Destroy(gameObject); } }