protected override Tween DOPlay()
        {
            if (null == m_rectTransform)
            {
                return(null);
            }
            // end if
            switch (m_shakeType)
            {
            case ShakeTypeEnum.Value:
                return(m_rectTransform.DOShakeAnchorPos(m_duration, m_strength, m_vibrato, m_randomness, m_isSnapping, m_fadeOut));

            case ShakeTypeEnum.Axis:
                return(m_rectTransform.DOShakeAnchorPos(m_duration, m_strengthAxis, m_vibrato, m_randomness, m_isSnapping, m_fadeOut));

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

            if (count == 2)
            {
                UnityEngine.RectTransform obj = (UnityEngine.RectTransform)ToLua.CheckObject(L, 1, typeof(UnityEngine.RectTransform));
                float arg0            = (float)LuaDLL.luaL_checknumber(L, 2);
                DG.Tweening.Tweener o = obj.DOShakeAnchorPos(arg0);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 3 && TypeChecker.CheckTypes <UnityEngine.Vector2>(L, 3))
            {
                UnityEngine.RectTransform obj = (UnityEngine.RectTransform)ToLua.CheckObject(L, 1, typeof(UnityEngine.RectTransform));
                float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
                UnityEngine.Vector2 arg1 = ToLua.ToVector2(L, 3);
                DG.Tweening.Tweener o    = obj.DOShakeAnchorPos(arg0, arg1);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 3 && TypeChecker.CheckTypes <float>(L, 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.lua_tonumber(L, 3);
                DG.Tweening.Tweener o = obj.DOShakeAnchorPos(arg0, arg1);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 4 && TypeChecker.CheckTypes <UnityEngine.Vector2, int>(L, 3))
            {
                UnityEngine.RectTransform obj = (UnityEngine.RectTransform)ToLua.CheckObject(L, 1, typeof(UnityEngine.RectTransform));
                float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
                UnityEngine.Vector2 arg1 = ToLua.ToVector2(L, 3);
                int arg2 = (int)LuaDLL.lua_tonumber(L, 4);
                DG.Tweening.Tweener o = obj.DOShakeAnchorPos(arg0, arg1, arg2);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 4 && TypeChecker.CheckTypes <float, int>(L, 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.lua_tonumber(L, 3);
                int   arg2            = (int)LuaDLL.lua_tonumber(L, 4);
                DG.Tweening.Tweener o = obj.DOShakeAnchorPos(arg0, arg1, arg2);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 5 && TypeChecker.CheckTypes <UnityEngine.Vector2, int, float>(L, 3))
            {
                UnityEngine.RectTransform obj = (UnityEngine.RectTransform)ToLua.CheckObject(L, 1, typeof(UnityEngine.RectTransform));
                float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
                UnityEngine.Vector2 arg1 = ToLua.ToVector2(L, 3);
                int   arg2            = (int)LuaDLL.lua_tonumber(L, 4);
                float arg3            = (float)LuaDLL.lua_tonumber(L, 5);
                DG.Tweening.Tweener o = obj.DOShakeAnchorPos(arg0, arg1, arg2, arg3);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 5 && TypeChecker.CheckTypes <float, int, float>(L, 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.lua_tonumber(L, 3);
                int   arg2            = (int)LuaDLL.lua_tonumber(L, 4);
                float arg3            = (float)LuaDLL.lua_tonumber(L, 5);
                DG.Tweening.Tweener o = obj.DOShakeAnchorPos(arg0, arg1, arg2, arg3);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 6 && TypeChecker.CheckTypes <UnityEngine.Vector2, int, float, bool>(L, 3))
            {
                UnityEngine.RectTransform obj = (UnityEngine.RectTransform)ToLua.CheckObject(L, 1, typeof(UnityEngine.RectTransform));
                float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
                UnityEngine.Vector2 arg1 = ToLua.ToVector2(L, 3);
                int   arg2            = (int)LuaDLL.lua_tonumber(L, 4);
                float arg3            = (float)LuaDLL.lua_tonumber(L, 5);
                bool  arg4            = LuaDLL.lua_toboolean(L, 6);
                DG.Tweening.Tweener o = obj.DOShakeAnchorPos(arg0, arg1, arg2, arg3, arg4);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 6 && TypeChecker.CheckTypes <float, int, float, bool>(L, 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.lua_tonumber(L, 3);
                int   arg2            = (int)LuaDLL.lua_tonumber(L, 4);
                float arg3            = (float)LuaDLL.lua_tonumber(L, 5);
                bool  arg4            = LuaDLL.lua_toboolean(L, 6);
                DG.Tweening.Tweener o = obj.DOShakeAnchorPos(arg0, arg1, arg2, arg3, arg4);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 7 && TypeChecker.CheckTypes <UnityEngine.Vector2, int, float, bool, bool>(L, 3))
            {
                UnityEngine.RectTransform obj = (UnityEngine.RectTransform)ToLua.CheckObject(L, 1, typeof(UnityEngine.RectTransform));
                float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
                UnityEngine.Vector2 arg1 = ToLua.ToVector2(L, 3);
                int   arg2            = (int)LuaDLL.lua_tonumber(L, 4);
                float arg3            = (float)LuaDLL.lua_tonumber(L, 5);
                bool  arg4            = LuaDLL.lua_toboolean(L, 6);
                bool  arg5            = LuaDLL.lua_toboolean(L, 7);
                DG.Tweening.Tweener o = obj.DOShakeAnchorPos(arg0, arg1, arg2, arg3, arg4, arg5);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 7 && TypeChecker.CheckTypes <float, int, float, bool, bool>(L, 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.lua_tonumber(L, 3);
                int   arg2            = (int)LuaDLL.lua_tonumber(L, 4);
                float arg3            = (float)LuaDLL.lua_tonumber(L, 5);
                bool  arg4            = LuaDLL.lua_toboolean(L, 6);
                bool  arg5            = LuaDLL.lua_toboolean(L, 7);
                DG.Tweening.Tweener o = obj.DOShakeAnchorPos(arg0, arg1, arg2, arg3, arg4, arg5);
                ToLua.PushObject(L, o);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.RectTransform.DOShakeAnchorPos"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }