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