private INTERNAL_CALL_Raycast ( NavMeshAgent self, Vector3 &targetPosition, NavMeshHit &hit ) : bool | ||
self | NavMeshAgent | |
targetPosition | Vector3 | |
hit | NavMeshHit | |
Résultat | bool |
private static extern bool INTERNAL_CALL_Raycast(NavMeshAgent self, ref Vector3 targetPosition, out NavMeshHit hit);
[MethodImpl(MethodImplOptions.InternalCall)]
public bool Raycast(Vector3 targetPosition, out NavMeshHit hit) { return(NavMeshAgent.INTERNAL_CALL_Raycast(this, ref targetPosition, out hit)); }