private void OnCollisionEnter2D(Collision2D collision) { if (collision.gameObject.tag == "Player") { textScript.ShowText(txtMission, textScript.TurnText(), textScript.powerup, staty.transform.position); textScript.StartAnimations(); staty.mission += 1; } }