Example #1
0
 private void OnTriggerStay(Collider collision)
 {
     if (collision.gameObject.tag == "Ground")
     {
         player.SetGrounded(true);
     }
 }