Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Multiple Curves in one single Animation Curve

Discussion in 'Scripting' started by NewDeveloper, Nov 30, 2012.

  1. NewDeveloper

    NewDeveloper

    Joined:
    Aug 25, 2012
    Posts:
    153
    Last edited: Nov 30, 2012
  2. Artaani

    Artaani

    Joined:
    Aug 5, 2012
    Posts:
    423
    As I know, this is not possible. This is particle emitter curve in your image.
    Just use several animation curves.
     
  3. NewDeveloper

    NewDeveloper

    Joined:
    Aug 25, 2012
    Posts:
    153
  4. Varaughe

    Varaughe

    Joined:
    Apr 22, 2013
    Posts:
    39
    check out "runtime curve editor" on unity asset store, with that you could edit more than one single AnimationCurve in same view, it works in-game, in play-mode
     
  5. DidaFM

    DidaFM

    Joined:
    Apr 17, 2018
    Posts:
    1
    I know this is very old, but for anyone interested, you can use the MinMaxCurve from unity's ParticleSystem (although it is limited to 2 curves).
    Code (CSharp):
    1. [SerializeField] private MinMaxCurve exampleMinMaxCurve;
    Just make sure to include this line in your script:
    Code (CSharp):
    1. using static UnityEngine.ParticleSystem;
     
    Nefisto and konstantin890 like this.