Script Unity Collisions

You might also like

You are on page 1of 1

oncollsionenter

/*
if(other.gameObject.CompareTag("floor"))
{
isJumping = false;
}
*/

oncollisonexit

/*
if(other.gameObject.CompareTag("floor"))
{
isJumping = true;
}
*/

You might also like