How do I create a curve asset?

Not sure if this is the right place to ask this, I can find everything in the internet on animation curves except for how to create the asset to begin with. Where do I find the option to create a curve? There is absolutely nothing in the create menu. I am trying to utilize a curve to map values onto over a y axis in an asset multiple scripts can reference and read. Am I misunderstanding how curves work in Unity? Or perhaps I’m just frustrated and skipping over stuff.

Thanks for your time!

Curve is plain C# object (like string), so if you want to serialize it, you’ll have to make a MonoBehaviour or ScriptableObject to contain it.

Simple ScriptableObject sample:

using UnityEngine;

[CreateAssetMenu(fileName = "CurveContainer", menuName = "ScriptableObjects/CurveContainer")]
public class CurveContainerScriptableObject : ScriptableObject
{
    public AnimationCurve curve;
    // or
    public AnimationCurve[] curves;
}

Ohh so its not a data asset like in UE, that makes more sense now, thanks for your answer. I will try this out.

That worked perfectly! Thanks!