static public int Simulate(IntPtr l)
{
try {
int argc = LuaDLL.lua_gettop(l);
if (argc == 2)
{
UnityEngine.ParticleSystem self = (UnityEngine.ParticleSystem)checkSelf(l);
System.Single a1;
checkType(l, 2, out a1);
self.Simulate(a1);
pushValue(l, true);
return(1);
}
else if (argc == 3)
{
UnityEngine.ParticleSystem self = (UnityEngine.ParticleSystem)checkSelf(l);
System.Single a1;
checkType(l, 2, out a1);
System.Boolean a2;
checkType(l, 3, out a2);
self.Simulate(a1, a2);
pushValue(l, true);
return(1);
}
else if (argc == 4)
{
UnityEngine.ParticleSystem self = (UnityEngine.ParticleSystem)checkSelf(l);
System.Single a1;
checkType(l, 2, out a1);
System.Boolean a2;
checkType(l, 3, out a2);
System.Boolean a3;
checkType(l, 4, out a3);
self.Simulate(a1, a2, a3);
pushValue(l, true);
return(1);
}
else if (argc == 5)
{
UnityEngine.ParticleSystem self = (UnityEngine.ParticleSystem)checkSelf(l);
System.Single a1;
checkType(l, 2, out a1);
System.Boolean a2;
checkType(l, 3, out a2);
System.Boolean a3;
checkType(l, 4, out a3);
System.Boolean a4;
checkType(l, 5, out a4);
self.Simulate(a1, a2, a3, a4);
pushValue(l, true);
return(1);
}
pushValue(l, false);
LuaDLL.lua_pushstring(l, "No matched override function to call");
return(2);
}
catch (Exception e) {
return(error(l, e));
}
}