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

        try
        {
            ToLua.CheckArgsCount(L, 4);
            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);
            TweenUtil.SetTweenRotationInfo(go, from, to, duration);
            result = 0;
        }
        catch (Exception e)
        {
            result = LuaDLL.toluaL_exception(L, e, null);
        }
        return(result);
    }