Answer the question
In order to leave comments, you need to log in
I'm drawing a graph, LineRenderer is not displayed correctly, are there different coordinate systems on the scene and in the game?
I'm trying to draw a graph using LineRendrer , on stage and in game mode, the linerenderer is displayed differently.
What is it connected with?
And another question, tell me an alternative to Linerendrer, the main task is to draw a graph, and shift the graph to the left, changing the values \u200b\u200bof the X axis (infinite X axis :) ).
Answer the question
In order to leave comments, you need to log in
The LineRenderer draws in world coordinates, while the UI draws in canvas coordinates. You either need to make the camera orthogonal and set the orthographicSize to match the dimensions of the canvas, or set renderMode to WorldSpace in the canvas settings.
What is it connected with?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question