static int Awake(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UIItem obj = (UIItem)ToLua.CheckObject <UIItem>(L, 1); obj.Awake(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }