static public int GetNearest(IntPtr l)
{
try {
GameFramework.EntityManager self = (GameFramework.EntityManager)checkSelf(l);
ScriptRuntime.Vector3 a1;
checkValueType(l, 2, out a1);
System.Single a2;
checkType(l, 3, out a2);
var ret = self.GetNearest(a1, ref a2);
pushValue(l, true);
pushValue(l, ret);
pushValue(l, a2);
return(3);
}
catch (Exception e) {
return(error(l, e));
}
}