private void OnTriggerEnter2D(Collider2D collision) { if (collision.gameObject.tag == "Player") { // collision.gameObject.GetComponent<Player_Script>().bouncetheplayerwithbouncy(force); player.bouncyplatformlaunch(force); StartCoroutine(Animatebouncy()); } }