using UnityEngine;
using System.Collections;

public class RotationEffect : MonoBehaviour {

    public float rotationDuration;
    public float xRotation;
    public float yRotation;
    public float zRotation;

	// Update is called once per frame
	void Awake ()
    {
        iTween.RotateBy(gameObject, iTween.Hash("time", rotationDuration, "x", xRotation, "y", yRotation, "z", zRotation, "islocal", true, "looptype", iTween.LoopType.loop, "easetype", iTween.EaseType.linear));
	}
}
