How can I go about attaching a sprite (in my case a muzzle flash) to my weapon's muzzle bone when firing?
I've tried using the Sprite Attacher script but it only seems to let me override slots which doesn't really help my case.
The reason for having the muzzle flash separate from the weapon file is because multiple if not most of my weapons, will use the same muzzle flash.
So in my case:

The bone in question is fire-primary, how can I attach and detach my muzzle flash sprite at runtime.

  • Misaki님이 이에 답장했습니다.
    Related Discussions
    ...

    Thank you once again, I was under the impression that it only applied to SkeletonAnimations.

    • Misaki님이 이에 답장했습니다.

      @RogueWars Your gun pixel art looks very cool! 😎
      For the future: mentioning up front which Spine component and which exact version of the spine-unity runtime you're using might save some unnecessary writing back and forth to clarify your setup and get the answer you need.

      • RogueWars 님이 이 게시물을 좋아합니다..