vincent.dcn

Help me create a blinking loop for my dog asset. I have no idea what to do. I know how to animate him blinking. However, how do I make it loop using Unity 2d? ..or is that something I do in Spine first? What code do I write? Or what plug-ins do I need? I can't find this answer anywhere.
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.
vincent.dcn
  • Messaggi: 5

Misaki

Hi, you can find an example component for playing the blink animation repeatedly with random time intervals in an example scene of the spine-unity runtime: Spine Examples/Getting Started/1 The Spine GameObject
SpineBlinkPlayer.jpg


This sample component is easy to use: Add your skeleton in the scene, then adding the Spine Blink Player component and set your blink animation reference asset to Blink Animation. The usage is in the following video:

Please check the actual scene for details on how the code works.
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.
Avatar utente
Misaki

Misaki
  • Messaggi: 875

vincent.dcn

Thank you so much! I feel relieved. =)
vincent.dcn
  • Messaggi: 5


Torna a Unity