static int Init(IntPtr L)
 {
     L.ChkArgsCount(1);
     ZFrame.UGUI.FollowUITarget obj = (ZFrame.UGUI.FollowUITarget)L.ChkUnityObjectSelf(1, "ZFrame.UGUI.FollowUITarget");
     obj.Init();
     return(0);
 }
    static int get_depthOfView(IntPtr L)
    {
        object o = L.ToUserData(1);

        ZFrame.UGUI.FollowUITarget obj = (ZFrame.UGUI.FollowUITarget)o;

        if (obj == null)
        {
            LuaTypes types = L.Type(1);

            if (types == LuaTypes.LUA_TTABLE)
            {
                LuaDLL.luaL_error(L, "unknown member name depthOfView");
            }
            else
            {
                LuaDLL.luaL_error(L, "attempt to index depthOfView on a nil value");
            }
        }

        L.PushNumber(obj.depthOfView);
        return(1);
    }
    static int get_target(IntPtr L)
    {
        object o = L.ToUserData(1);

        ZFrame.UGUI.FollowUITarget obj = (ZFrame.UGUI.FollowUITarget)o;

        if (obj == null)
        {
            LuaTypes types = L.Type(1);

            if (types == LuaTypes.LUA_TTABLE)
            {
                LuaDLL.luaL_error(L, "unknown member name target");
            }
            else
            {
                LuaDLL.luaL_error(L, "attempt to index target on a nil value");
            }
        }

        L.PushLightUserData(obj.target);
        return(1);
    }
    static int set_followTarget(IntPtr L)
    {
        object o = L.ToUserData(1);

        ZFrame.UGUI.FollowUITarget obj = (ZFrame.UGUI.FollowUITarget)o;

        if (obj == null)
        {
            LuaTypes types = L.Type(1);

            if (types == LuaTypes.LUA_TTABLE)
            {
                LuaDLL.luaL_error(L, "unknown member name followTarget");
            }
            else
            {
                LuaDLL.luaL_error(L, "attempt to index followTarget on a nil value");
            }
        }

        obj.followTarget = L.ToComponent(3, typeof(UnityEngine.RectTransform)) as UnityEngine.RectTransform;
        return(0);
    }
    static int set_smoothTime(IntPtr L)
    {
        object o = L.ToUserData(1);

        ZFrame.UGUI.FollowUITarget obj = (ZFrame.UGUI.FollowUITarget)o;

        if (obj == null)
        {
            LuaTypes types = L.Type(1);

            if (types == LuaTypes.LUA_TTABLE)
            {
                LuaDLL.luaL_error(L, "unknown member name smoothTime");
            }
            else
            {
                LuaDLL.luaL_error(L, "attempt to index smoothTime on a nil value");
            }
        }

        obj.smoothTime = (float)L.ChkNumber(3);
        return(0);
    }
    static int set_alwaysSmooth(IntPtr L)
    {
        object o = L.ToUserData(1);

        ZFrame.UGUI.FollowUITarget obj = (ZFrame.UGUI.FollowUITarget)o;

        if (obj == null)
        {
            LuaTypes types = L.Type(1);

            if (types == LuaTypes.LUA_TTABLE)
            {
                LuaDLL.luaL_error(L, "unknown member name alwaysSmooth");
            }
            else
            {
                LuaDLL.luaL_error(L, "attempt to index alwaysSmooth on a nil value");
            }
        }

        obj.alwaysSmooth = L.ChkBoolean(3);
        return(0);
    }
    static int set_disableIfInvisible(IntPtr L)
    {
        object o = L.ToUserData(1);

        ZFrame.UGUI.FollowUITarget obj = (ZFrame.UGUI.FollowUITarget)o;

        if (obj == null)
        {
            LuaTypes types = L.Type(1);

            if (types == LuaTypes.LUA_TTABLE)
            {
                LuaDLL.luaL_error(L, "unknown member name disableIfInvisible");
            }
            else
            {
                LuaDLL.luaL_error(L, "attempt to index disableIfInvisible on a nil value");
            }
        }

        obj.disableIfInvisible = L.ChkBoolean(3);
        return(0);
    }
    static int set_uiCamera(IntPtr L)
    {
        object o = L.ToUserData(1);

        ZFrame.UGUI.FollowUITarget obj = (ZFrame.UGUI.FollowUITarget)o;

        if (obj == null)
        {
            LuaTypes types = L.Type(1);

            if (types == LuaTypes.LUA_TTABLE)
            {
                LuaDLL.luaL_error(L, "unknown member name uiCamera");
            }
            else
            {
                LuaDLL.luaL_error(L, "attempt to index uiCamera on a nil value");
            }
        }

        obj.uiCamera = L.ToComponent(3, typeof(UnityEngine.Camera)) as UnityEngine.Camera;
        return(0);
    }