iTween.PunchScale C# (CSharp) Method

PunchScale() public static method

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

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

Same methods

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