Version: 2020.2
언어: 한국어
public characterController controller ;

설명

The controller that hit the collider.

using UnityEngine;

public class Example : MonoBehaviour { //Disable collision detection on CharacterControllers we touch. void OnControllerColliderHit(ControllerColliderHit hit) { hit.controller.detectCollisions = false; } }