void OnTriggerEnter2D(Collider2D coll) { if (coll.tag == "bottom") { gamemain.DeclLife(); Stopbird(); GetComponent <Animator>().SetBool("IsGrounded", true); } }