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));
}
}