IndieDoroid

Hi @harald
How can we change materials inside the inspector?
screenshot.68.jpg


It seems like the material is permanently assigned to the skeleton mecanim\animation. If I try to drag in another new material, it auto reverts back to the pre-assigned material. :wounded:

Any suggestions on how to change the material in the inspector?

Thanks for the help! :)
У вас нет необходимых прав для просмотра вложений в этом сообщении.
Аватара пользователя
IndieDoroid
  • Сообщения: 106

holymolar

We've been working on this issue too...

So far boiled it down to the material is cached at the very beginning and every frame that it reconstructs the mesh, it reverts back to the cached material since it has to keep track of every material per attachment (if I'm using the terminology right).

If you found a good way, do tell.
holymolar
  • Сообщения: 4

Harald

This is intentional and required behaviour, sorry for the confusion. Unfortunately we cannot hide the fields of built-in components from the user.

Use this component:
spine-unity Runtime Documentation: SkeletonRendererCustomMaterials
Аватара пользователя
Harald

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


Вернуться в Unity