Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

How to trigger animations randomly wihout scripts?

Discussion in 'Animation' started by trappist-1, Jan 10, 2021.

  1. trappist-1

    trappist-1

    Joined:
    Mar 26, 2017
    Posts:
    595
    I am creating a scene for a game and would like to add lightning flash sprite animations that randomly appear in the scene. I would like the animation to appear random but the map can not include custom scripts.

    Is there any way I can create a few lightning flash animations that repeat but have random delay between them?

    Or any way to create an effect that appears as random?
     
  2. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    1,614
    Particle systems have inherent randomness if you can get the effect you want with them, but there's no randomness in the animation system so you would need a script for that.
     
unityunity