Simulate() private method

private Simulate ( float deltaTime ) : void
deltaTime float
return void
 static public int Simulate(IntPtr l)
 {
     try{
         UnityEngine.ParticleEmitter self = (UnityEngine.ParticleEmitter)checkSelf(l);
         System.Single a1;
         checkType(l, 2, out a1);
         self.Simulate(a1);
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
 static public int Simulate(IntPtr l)
 {
     try {
         UnityEngine.ParticleEmitter self = (UnityEngine.ParticleEmitter)checkSelf(l);
         System.Single a1;
         checkType(l, 2, out a1);
         self.Simulate(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 3
0
 static int Simulate(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UnityEngine.ParticleEmitter obj = (UnityEngine.ParticleEmitter)ToLua.CheckObject(L, 1, typeof(UnityEngine.ParticleEmitter));
         float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
         obj.Simulate(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }