static int GetCharacters(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.TextGenerator obj = (UnityEngine.TextGenerator)ToLua.CheckObject(L, 1, typeof(UnityEngine.TextGenerator)); System.Collections.Generic.List <UnityEngine.UICharInfo> arg0 = (System.Collections.Generic.List <UnityEngine.UICharInfo>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.UICharInfo>)); obj.GetCharacters(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }