Ani.Mate: animate single EulerAngles?

Hi,

i want to know how i can animate the eulerAngles of a light/sun for every rotation proberty of there own?

For making a whole rotation around the y-axis, i´m using this code:

Ani.Mate.By(sun.transform, 40, {"eulerAngles": new Vector3(0, 360, 0)});

But on the same time i want to change the x-axis from zero to 180. If i write an second statement, this line overwrite the values from the first.

Ani.Mate.By(sun.transform, 40, {"eulerAngles": new Vector3(180, 0, 0)});

So what could i do?
Thanks for your help.
yosh

Now i´m testing without the Ani.Mate-class and using Update() instead.
If i´m using:sun.transform.Rotate(Vector3.up * Time.deltaTime * 4, Space.World); it works perfectly and only for the y-axis.

But if i´m using “Vector3.forward” or “Vector3.right” instead of the “Vector3.up”, all the three rotation-values are changing when in game-mode. I need to know how it´s working for every single rotation value only.

Thanks for your help.