static public int SetEnabledFading(IntPtr l)
{
try{
if (matchType(l, 2, typeof(bool), typeof(float)))
{
UnityEngine.SkinnedCloth self = (UnityEngine.SkinnedCloth)checkSelf(l);
System.Boolean a1;
checkType(l, 2, out a1);
System.Single a2;
checkType(l, 3, out a2);
self.SetEnabledFading(a1, a2);
return(0);
}
else if (matchType(l, 2, typeof(bool)))
{
UnityEngine.SkinnedCloth self = (UnityEngine.SkinnedCloth)checkSelf(l);
System.Boolean a1;
checkType(l, 2, out a1);
self.SetEnabledFading(a1);
return(0);
}
LuaDLL.luaL_error(l, "No matched override function to call");
return(0);
}
catch (Exception e) {
LuaDLL.luaL_error(l, e.ToString());
return(0);
}
}