Ejemplo n.º 1
0
 static int Elapsed(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         ToLua_DG_Tweening_Tween obj = (ToLua_DG_Tweening_Tween)ToLua.CheckObject(L, 1, typeof(ToLua_DG_Tweening_Tween));
         bool  arg0 = LuaDLL.luaL_checkboolean(L, 2);
         float o    = obj.Elapsed(arg0);
         LuaDLL.lua_pushnumber(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }