How to make a line graph in the unity inspector
1 answer
I believe that what you are looking for can be satisfied with the unity built into the curveField . In theory, this is intended for animation, but I've seen it used for things like motion profiles and complex interpolations.
What makes it better than a line graph is that it can be edited either from the editor or as you wish from a script using a method AnimationCurve.AddKey
(you need to dig the curve out of the curveField)
+2
source to share