UnityEngine.AI.NavMeshAgent.FindClosestEdge C# (CSharp) Method

FindClosestEdge() private method

private FindClosestEdge ( NavMeshHit &hit ) : bool
hit NavMeshHit
return bool
        public extern bool FindClosestEdge(out NavMeshHit hit);
        /// <summary>

Usage Example

 static public int FindClosestEdge(IntPtr l)
 {
     try {
         UnityEngine.AI.NavMeshAgent self = (UnityEngine.AI.NavMeshAgent)checkSelf(l);
         UnityEngine.AI.NavMeshHit   a1;
         var ret = self.FindClosestEdge(out a1);
         pushValue(l, true);
         pushValue(l, ret);
         pushValue(l, a1);
         return(3);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of UnityEngine.AI.NavMeshAgent::FindClosestEdge