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

Question How do enable a animation when a number goes below its maximum?

Discussion in 'Animation' started by Lieusifer, Jun 4, 2022.

  1. Lieusifer

    Lieusifer

    Joined:
    Nov 19, 2021
    Posts:
    1
    so I'm trying to make it so my gun only reloads when the ammo is lower than its max such as if my ammo is 31(max) it doesn't enable the animation but when the number is 30 or lower it enable's the animation so when you click the reload key it triggers the reload animation.