Custom curve editor in the Inspector (Like in LineRenderer)

Can i add exactly the same field to edit the curve like they made for LineRenderer component to my CustomEditor script. Please do not recommend me the animation curve, i’m aware of it. Thanks.
119944-inspector-linerenderer.png

No, you can’t simply use that editor because it’s an internal class. The linerenderer editor uses the LineRendererCurveEditor which is an internal class. It will in turn also use the CurveEditor class which is also an internal class.

Note that this repository may only be used for reference. You are not allowed to copy or distribute any of the source code found in this repository. Make sure you read the license and copyright information on the main page.

You can use the CurveField custom GUI element to edit curves in the editor similar to the LineRenderer.