UnityEngine.AI.NavMeshAgent.INTERNAL_CALL_Raycast C# (CSharp) Метод

INTERNAL_CALL_Raycast() приватный Метод

private INTERNAL_CALL_Raycast ( NavMeshAgent self, Vector3 &targetPosition, NavMeshHit &hit ) : bool
self NavMeshAgent
targetPosition Vector3
hit NavMeshHit
Результат bool
        private static extern bool INTERNAL_CALL_Raycast(NavMeshAgent self, ref Vector3 targetPosition, out NavMeshHit hit);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

Пример #1
0
 public bool Raycast(Vector3 targetPosition, out NavMeshHit hit)
 {
     return(NavMeshAgent.INTERNAL_CALL_Raycast(this, ref targetPosition, out hit));
 }