I have a conditional prefab set up for when an enemy takes damage, is there a way to transition with a specific, one time animation between those? And should I set that up on the prefab mecanim for the original or the mecanim of the conditional prefab?
  • Maybe somehow on "entry" step of mecanim for the conditional or something?
  • No, I don't think so.

    The conditional prefab change will simply remove the old game object and spawn the new one at the same position/rotation as the old prefab. Everything else has to be done manually, e.g. if it happens during an event, you could control the time of the change by using object variable conditions (combatant object variables), playing animations before/after changing them.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.