static public int IsTouchingLayers(IntPtr l)
{
try {
int argc = LuaDLL.lua_gettop(l);
if (argc == 1)
{
UnityEngine.Rigidbody2D self = (UnityEngine.Rigidbody2D)checkSelf(l);
var ret = self.IsTouchingLayers();
pushValue(l, true);
pushValue(l, ret);
return(2);
}
else if (argc == 2)
{
UnityEngine.Rigidbody2D self = (UnityEngine.Rigidbody2D)checkSelf(l);
System.Int32 a1;
checkType(l, 2, out a1);
var ret = self.IsTouchingLayers(a1);
pushValue(l, true);
pushValue(l, ret);
return(2);
}
pushValue(l, false);
LuaDLL.lua_pushstring(l, "No matched override function IsTouchingLayers to call");
return(2);
}
catch (Exception e) {
return(error(l, e));
}
}