nicmar

When I use a script on another creature, that has some animations in common, or maybe none, it still looks like the choices are valid. Notice the image, where "idle" with all lowercaps is selected, since the last SpineAnimation had it.

Is there a way to highlight these, like mark them red, to indicate that the animations doesn't exist?
I couldn't find the SpineAnimationProperty in the code somewhere, is it editable?

Thanks!

unknown.png
У вас нет необходимых прав для просмотра вложений в этом сообщении.
Using Spine to make SpaceChef - The Taste of Trouble. A humoristic open world space western, featuring a chef with nothing to loose, after he loses everything.. ;) Follow our work on Twitter @BlueGooGames.
Аватара пользователя
nicmar
  • Сообщения: 79

Harald

Performing a validity check and drawing the name in red is a good idea. I'm just afraid that due to lots of important issue tickets with higher priority, this will take some time until we get to implement it.

The SpineAnimationDrawer code can be found here:
https://github.com/EsotericSoftware/spine-runtimes/blob/3.8/spine-unity/Assets/Spine/Editor/spine-unity/Editor/SpineAttributeDrawers.cs#L268
Аватара пользователя
Harald

Harri
  • Сообщения: 2761

nicmar

Thanks Harald, I'll keep that in mind if we decide to implement it ourselves :)
Using Spine to make SpaceChef - The Taste of Trouble. A humoristic open world space western, featuring a chef with nothing to loose, after he loses everything.. ;) Follow our work on Twitter @BlueGooGames.
Аватара пользователя
nicmar
  • Сообщения: 79

Harald

You're welcome. Sorry that our schedule is a bit packed currently. :)
Аватара пользователя
Harald

Harri
  • Сообщения: 2761


Вернуться в Unity