Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    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.