iTween集(2)

iTweenを使ってオブジェクトを揺らす

iTween.ShakePosition(hit.transform.gameObject, iTween.Hash("x", 2,"y", 2,"time", 1.0f));
iTween.ShakeRotation(hit.transform.gameObject, iTween.Hash("x", 2,"y", 2,"time", 1.0f));
iTween.ShakeScale(hit.transform.gameObject, iTween.Hash("x", 2,"y", 2,"time", 1.0f));

ActionScript入門Wiki - Unity - トゥイーンライブラリiTweenを使用する