UnityEngine.NavMeshAgent.FindClosestEdge C# (CSharp) Method

FindClosestEdge() private method

private FindClosestEdge ( NavMeshHit &hit ) : bool
hit NavMeshHit
return bool
        public extern bool FindClosestEdge(out NavMeshHit hit);
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]

Usage Example

コード例 #1
0
 static public int FindClosestEdge(IntPtr l)
 {
     try {
         UnityEngine.NavMeshAgent self = (UnityEngine.NavMeshAgent)checkSelf(l);
         UnityEngine.NavMeshHit   a1;
         var ret = self.FindClosestEdge(out a1);
         pushValue(l, ret);
         pushValue(l, a1);
         return(2);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
All Usage Examples Of UnityEngine.NavMeshAgent::FindClosestEdge