static int IsBackwards(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        DG.Tweening.Tween obj = (DG.Tweening.Tween)LuaScriptMgr.GetNetObjectSelf(L, 1, "DG.Tweening.Tween");
        bool o = obj.IsBackwards();

        LuaScriptMgr.Push(L, o);
        return(1);
    }
Beispiel #2
0
 static int IsBackwards(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject <DG.Tweening.Tween>(L, 1);
         bool o = obj.IsBackwards();
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }