private static extern bool INTERNAL_CALL_CalculatePathInternal(NavMeshAgent self, ref Vector3 targetPosition, NavMeshPath path); [MethodImpl(MethodImplOptions.InternalCall)]
private bool CalculatePathInternal(Vector3 targetPosition, NavMeshPath path) { return(NavMeshAgent.INTERNAL_CALL_CalculatePathInternal(this, ref targetPosition, path)); }