UnityでSpineのアニメーションを再生する際、そのアニメーションが再生中かどうか、終了したかどうかを判定する方法はありますか?
コールバックのように毎回呼ばれるものではなく、特定のアニメーションの終了待ちをしたいです。
1. sayfa (Toplam 1 sayfa)
ゆみねこ
1 year ago
- ゆみねこ
- Mesajlar: 1
Harald
すべてのアニメーションに対して呼び出される
こちらのスピンユニティのドキュメントセクションをご覧ください。
spine-unity Runtime Documentation: Processing AnimationState Events
各イベントの詳細なドキュメントはこちらをご覧ください。
-----
You can register to the
Please have a look at the spine-unity documentation section here:
spine-unity Runtime Documentation: Processing AnimationState Events
Detailled documentation of each event can be found here:
AnimationState.Complete
または .End
コールバックに登録することができます。特別なアニメーションのコールバックだけを受け取りたい場合は、代わりに trackEntry.Complete
または .End
コールバックに登録することができます。この TrackEntry
を受け取るのは、 SetAnimation()
またはAddAnimation()
.こちらのスピンユニティのドキュメントセクションをご覧ください。
spine-unity Runtime Documentation: Processing AnimationState Events
各イベントの詳細なドキュメントはこちらをご覧ください。
AnimationStateListener Methods
-----
You can register to the
AnimationState.Complete
or .End
callback which is called for every animation. If you only want to receive a callback of a special animation, you can alternatively register at the trackEntry.Complete
or .End
callback. You receive the TrackEntry
after adding or setting the animation via SetAnimation()
or AddAnimation()
.Please have a look at the spine-unity documentation section here:
spine-unity Runtime Documentation: Processing AnimationState Events
Detailled documentation of each event can be found here:
AnimationStateListener Methods
1 year ago
-
Harald - Mesajlar: 4016
Mark topic unread
• 1. sayfa (Toplam 1 sayfa)
Dön 日本のSpine ユーザー
- Tüm zamanlar UTC