static int Delay(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); DG.Tweening.Tween obj = (DG.Tweening.Tween)LuaScriptMgr.GetNetObjectSelf(L, 1, "DG.Tweening.Tween"); float o = obj.Delay(); LuaScriptMgr.Push(L, o); return(1); }
static int Delay(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject <DG.Tweening.Tween>(L, 1); float o = obj.Delay(); LuaDLL.lua_pushnumber(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }