Unity で Tween を行う時に便利な Asset 、 iTween の使い方。 iTween for Unity by Bob Berkebile (pixelplacement) http://itween.pixelplacement.com/index.php MoveBy MoveBy メソッドは相対的な移動を行います。 x座標を +2 した位置までこのスクリプトが追加された GameObject を移動させる場合は( C# の場合)この様なプログラムになります。 using UnityEngine; using System.Collections; public class MoveSample : MonoBehaviour { void Start(){ iTween.MoveBy(gameObject, iTween.Hash("x", 2, "easeType"
![iTween の使い方 - Move関連 - 強火で進め](https://cdn-ak-scissors.b.st-hatena.com/image/square/cc6d809bd4c114269021cbd3565b88978848090a/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fn%2Fnakamura001%2F20121127%2F20121127222403.png)