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

GetAreaCost() private method

private GetAreaCost ( int areaIndex ) : float
areaIndex int
return float
        public extern float GetAreaCost(int areaIndex);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

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