- Home /
Question by
power_champ · Sep 08, 2021 at 07:23 AM ·
shaderspriteimagelineline drawing
How can I display flat image on cube gameObject
Hi all.
I would like to display a line on one face of a cube gameObject and then change it's color on demand.
Something like this attached screenshot.
In future I would also like to be able to place arrows along the line.
Am I looking at shaders or an attached gameObject?
Medium proficient with C# just completely out of my depth with unity, could someone please point me in the right direction?
Any help appreciated.
lines.png
(84.2 kB)
arrows.png
(84.3 kB)
Comment
You could put a sprite on the face of the cube you want the line as well.
Your answer
Follow this Question
Related Questions
Line between main camera and background image 0 Answers
Sprite not visible from behind 0 Answers
Getting horizontal gradient in unlit sprite shader even sprite is rotated 0 Answers
Messy tiled sprites 1 Answer
Shader to a Camera 1 Answer