protected override Tween DOPlay()
        {
            if (null == m_RectTransform)
            {
                return(null);
            }
            // end if
            switch (m_posType)
            {
            case PosTypeEnum.Pos:
                return(m_RectTransform.DOAnchorPos3D(m_toAnchorPos, m_duration, m_isSnapping));

            case PosTypeEnum.PosX:
                return(m_RectTransform.DOAnchorPos3DX(m_toAnchorPosX, m_duration, m_isSnapping));

            case PosTypeEnum.PosY:
                return(m_RectTransform.DOAnchorPos3DY(m_toAnchorPosY, m_duration, m_isSnapping));

            case PosTypeEnum.PosZ:
                return(m_RectTransform.DOAnchorPos3DZ(m_toAnchorPosZ, m_duration, m_isSnapping));

            default: return(null);
            } // end switch
        }
    static int DOAnchorPos3DZ(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 3)
            {
                UnityEngine.RectTransform obj = (UnityEngine.RectTransform)ToLua.CheckObject(L, 1, typeof(UnityEngine.RectTransform));
                float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
                float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
                DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions> o = obj.DOAnchorPos3DZ(arg0, arg1);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 4)
            {
                UnityEngine.RectTransform obj = (UnityEngine.RectTransform)ToLua.CheckObject(L, 1, typeof(UnityEngine.RectTransform));
                float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
                float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
                bool  arg2 = LuaDLL.luaL_checkboolean(L, 4);
                DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions> o = obj.DOAnchorPos3DZ(arg0, arg1, arg2);
                ToLua.PushObject(L, o);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.RectTransform.DOAnchorPos3DZ"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }