Example #1
0
 static int Kill(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UITween obj  = (UITween)ToLua.CheckObject(L, 1, typeof(UITween));
         bool    arg0 = LuaDLL.luaL_checkboolean(L, 2);
         obj.Kill(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }