Version: 2017.4
public bool isGrounded ;

説明

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

using UnityEngine;

public class Example : MonoBehaviour { CharacterController controller;

void Start() { controller = GetComponent<CharacterController>(); }

void Update() { if (controller.isGrounded) { print("CharacterController is grounded"); } } }