private void Tick(TimerEvent e) { if (!e.CheckValid()) { invalidEvents.Add(e); } else { e.Tick(); } }
static int Tick(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Lit.Unity.TimerEvent obj = (Lit.Unity.TimerEvent)ToLua.CheckObject(L, 1, typeof(Lit.Unity.TimerEvent)); obj.Tick(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }