greyLine.SetWidth (0.4F, 0.4F);
greyLine.SetColors (Color.grey, Color.grey);
Material lineGrey = new Material (Shader.Find ("Particles/Alpha Blended"));
greyLine.material = lineGrey;
greyLine.SetVertexCount (2);
greyLine.SetPosition (0, h0);
greyLine.SetPosition (1, pos);
I create such a line. I want the endpoints of the lines to be round. But there are no such options, as in the Android studio, for example paint (Paint.Cap.ROUND). Do I have a similar method? I am trying to create a scene based on drag and drop, for example, in basic words, etc. (For example, in WordSearch games).
source
share