Version: 2017.2
public characterController controller ;

설명

The controller that hit the collider.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnControllerColliderHit(ControllerColliderHit hit) { hit.controller.detectCollisions = false; } }