• Bugs
  • spine 4.1 spine - unity Runtimes 【bug】

  • Đã chỉnh sửa
Related Discussions
...

If the spine file uses a mask, cannot change the shader parameters of the meshenderer through code in unity.

in unity2019.4.39f

render.material.SetFloat("_number", 0); Not working

Hello,

Thank you for reporting your issue with the 4.1 Unity runtime. Our resident Unity expert, Harri, is out for the weekend and will get to your bug report next week.

Luke đã viết

Hello,

Thank you for reporting your issue with the 4.1 Unity runtime. Our resident Unity expert, Harri, is out for the weekend and will get to your bug report next week.

ok~~~ 😉 😉

9 ngày sau
Harald đã viết

Please note that directly modifying the MeshRenderer's materials will not work in many situations. See documentation here:
spine-unity Runtime Documentation: Materials
spine-unity Runtime Documentation: Changing Materials Per Instance

If you want to modify the shared material, please see this forum thread here:
Load/Unload Spine at runtime

Thank you for your reply This is very helpful!

Glad it helped, thanks for getting back to us! 8)