Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Hay Day のボタンのように、ボタンにスプリング効果を追加したいのですが、手を貸していただけますか?
ボタンを押すと 0.9 小さくなり、ボタンを離すと、HayDay ボタンと同じようにスプリング効果で元のスケールに戻ります。
iTween.PunchScale を使用しようとしましたが、HayDay とは異なり、元のスケールにパンチ バックされます (押すと 0.9 小さくなります)。
手を貸していただけますか?
ホバーして押すとボタンのスケールを変更する UIButtonScale を使用できると思います。