public bool isGrounded ;

説明

CharacterController が最新の移動中に地面に接地しているかどうかの判断

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Update() { CharacterController controller = GetComponent<CharacterController>(); if (controller.isGrounded) print("We are grounded"); } }