Rotates a GameObject to look at a supplied Transform or Vector3 over time.
Game Object
The Game Object to rotate.
Transform Target
Look at a transform position.
Vector Target
A target position the GameObject will look at. If Transform Target is defined this is used as a look offset.
Time
The time in seconds the animation will take to complete.
Axis
Restricts rotation to the supplied axis only. Just put there strinc like 'x' or 'xz'