iTween.RotateBy C# (CSharp) Method

RotateBy() public static method

Multiplies supplied values by 360 and rotates a GameObject by calculated amount over time with FULL customization options.
public static RotateBy ( GameObject target, Hashtable args ) : void
target GameObject
args Hashtable
return void
    public static void RotateBy(GameObject target, Hashtable args)
    {
        //clean args:
        args = iTween.CleanArgs(args);

        //establish iTween
        args["type"]="rotate";
        args["method"]="by";
        Launch(target,args);
    }

Same methods

iTween::RotateBy ( GameObject target, Vector3 amount, float time ) : void
iTween