What is your Debug.Log output? You’ll want to place many more, and add the variable values to the Debug.Log output to see what is going on
Debug.Log("Grounded value = " + groundedPlayer.ToString());
What is your Debug.Log output? You’ll want to place many more, and add the variable values to the Debug.Log output to see what is going on
Debug.Log("Grounded value = " + groundedPlayer.ToString());