Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Regarding display animation for enemy die

Discussion in 'Visual Scripting' started by art_1020300, Sep 26, 2022.

  1. art_1020300

    art_1020300

    Joined:
    Jul 20, 2021
    Posts:
    2
    Hello, I created one animation for the enemy die, when the enemy is dead, this animation will be triggered to display, and it works at the beginning.

    However, I am now improving this part, making it much more interesting, e.g. displaying enemy A, enemy B, and enemy C, .... and Z, etc. randomly, but when the enemy (X) is dead, the animation cannot be displayed.

    So, does anyone know the reason, please?

    Thanks for your help in advance.
     
  2. REDACT3D_

    REDACT3D_

    Joined:
    Nov 8, 2020
    Posts:
    222
    make sure to drop the animation into the animator on each object.
    would need more information
     
    art_1020300 likes this.
  3. art_1020300

    art_1020300

    Joined:
    Jul 20, 2021
    Posts:
    2
    Yes, it works now. Thanks for your suggestion. You are so great!
     
  4. REDACT3D_

    REDACT3D_

    Joined:
    Nov 8, 2020
    Posts:
    222
    beauty, good stuff no worries.
     
    art_1020300 likes this.