UnityEngine.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), WrapperlessIcall]

Usage Example

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