[C] Drawing in game

Hello unity gods. I want to create a drawing game but I have no idea how to make an object (pen) draw lines on another object (paper). I don’t have a problem the objects just don’t know how to make my drawing object to actually draw.

Currently I’m trying to figure out how to do that with Trail Renderer. Is there a better way?

Please provide a short example code.

Thank you very much!

This is a great post detailing three distinct methods for drawing lines. I recommend the second option (DrawMeshNow()) which I’ve used to render lines in my projects.

this way you can make designs that are not. Come and meet the curso da Mayara Rodrigues