static int PrefactSize(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         GameFramework.GameObjectLayoutElement obj = (GameFramework.GameObjectLayoutElement)ToLua.CheckObject <GameFramework.GameObjectLayoutElement>(L, 1);
         obj.PrefactSize();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int set_LayoutSize(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            GameFramework.GameObjectLayoutElement obj = (GameFramework.GameObjectLayoutElement)o;
            UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2);
            obj.LayoutSize = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index LayoutSize on a nil value"));
        }
    }