private static int SetTweenScaleInfo(IntPtr L)
    {
        int result;

        try
        {
            ToLua.CheckArgsCount(L, 6);
            GameObject go        = (GameObject)ToLua.CheckUnityObject(L, 1, typeof(GameObject));
            Vector3    from      = ToLua.ToVector3(L, 2);
            Vector3    to        = ToLua.ToVector3(L, 3);
            float      duration  = (float)LuaDLL.luaL_checknumber(L, 4);
            float      delay     = (float)LuaDLL.luaL_checknumber(L, 5);
            Vector2[]  keyframes = ToLua.CheckObjectArray <Vector2>(L, 6);
            TweenUtil.SetTweenScaleInfo(go, from, to, duration, delay, keyframes);
            result = 0;
        }
        catch (Exception e)
        {
            result = LuaDLL.toluaL_exception(L, e, null);
        }
        return(result);
    }