[Tween] 昔良く見たフェードアウトする感じの敵の消滅エフェクト
NGUI使ってると入ってる奴
これをフェードアウトしたいオブジェクトにくっつける。
スタート押していきなりフェードアウトして欲しくないからアクティブを切る
再生したい時は
var tweenColor = sprite.GetComponent<TweenColor>();
tweenColor.Play (true);
tweenColor.ResetToBeginning ();
な感じのコードを書く
再生するとこんな感じになる
http://gyazo.com/ede50a727bdbc365f1544708a2ec9ac5
Author And Source
この問題について([Tween] 昔良く見たフェードアウトする感じの敵の消滅エフェクト), 我々は、より多くの情報をここで見つけました https://qiita.com/enpel/items/6c7884c96b6676cf6692著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .