Asset provides script _2DLineUtil, which makes it easy to draw lines in any direction on the UI(Canvas) layer
Of course you can also use it to draw a curve, which is a bunch of little lines joining together
Quick Start:
Call _2DLineUtil.Draw
Examples of drawing polylines and circles are provided in the Demo, please refer to
You can email(372792797@qq.com) me when anything dose not expect.
Thanks for using!