iTween.ShakeRotation C# (CSharp) Method

ShakeRotation() public static method

Randomly shakes a GameObject's rotation by a diminishing amount over time with FULL customization options.
public static ShakeRotation ( GameObject target, Hashtable args ) : void
target GameObject
args Hashtable
return void
    public static void ShakeRotation(GameObject target, Hashtable args)
    {
        //clean args:
        args = iTween.CleanArgs(args);

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

Same methods

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