iTween.PunchRotation C# (CSharp) Method

PunchRotation() public static method

Applies a jolt of force to a GameObject's rotation and wobbles it back to its initial rotation with FULL customization options.
public static PunchRotation ( GameObject target, Hashtable args ) : void
target GameObject
args Hashtable
return void
    public static void PunchRotation(GameObject target, Hashtable args)
    {
        //clean args:
        args = iTween.CleanArgs(args);

        //establish iTween
        args["type"]="punch";
        args["method"]="rotation";
        args["easetype"]=EaseType.punch;
        Launch(target,args);
    }

Same methods

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