static int get_clipping(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.GUIStyle obj = (UnityEngine.GUIStyle)o; UnityEngine.TextClipping ret = obj.clipping; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index clipping on a nil value" : e.Message)); } }
static int set_clipping(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.GUIStyle obj = (UnityEngine.GUIStyle)o; UnityEngine.TextClipping arg0 = (UnityEngine.TextClipping)ToLua.CheckObject(L, 2, typeof(UnityEngine.TextClipping)); obj.clipping = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index clipping on a nil value" : e.Message)); } }