被该控制器撞击的碰撞体。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void OnControllerColliderHit(ControllerColliderHit hit) { hit.gameObject.SendMessage("ApplyDamage", 5); } }