• Runtimes
  • [Unity] Disabling A Slot's Renderer

  • Изменено
Related Discussions
...

Hello,
I'm basically trying to disable a specific part of an animation that i wanna disappear right leg of a running man animation. İs it about slot of that leg and how can i do it at runtime?

Thanks.

Get slot, set its attachment to null.

After setting it null i can't use that attachment again i think. Instead i made Alpha of that slot to zero and that also worked for me.
Thanks anyway Nate.

You can certainly use the attachment again. See setAttachment on Skeleton. Setting alpha may be fine, but images drawn with 0 alpha still affect framerate.