Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. 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


    Nov 19, 2021
    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.