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