コード例 #1
0
 void OnTriggerEnter2D(Collider2D coll)
 {
     if (coll.tag == "bottom")
     {
         gamemain.DeclLife();
         Stopbird();
         GetComponent <Animator>().SetBool("IsGrounded", true);
     }
 }