Periksa apakah suatu objek dibumikan atau tidak dalam persatuan
// Add a character controller to your object
public CharacterController controller;
if (controller.isGrounded)
{
// Jump 'FOR EXAMPLE'
}
// Add a character controller to your object
public CharacterController controller;
if (controller.isGrounded)
{
// Jump 'FOR EXAMPLE'
}