- Home /
Sprite dots spawn and have their own color, but they only show as wireframes?
I have sprite dots spawning randomly and each have a chance of being one of four colors. They spawn correctly, and yet I cannot see them in the scene or game view. They only show as wire frames, and if I click on one, it shows that it should be a certain color, but it wont show up unless I put a material on each one. I need them to spawn in visible, and with color. The sprite is on a default sorting layer, and has the default material. Looking at an example I found, they did not need to change the material to create the color instead they just change the sprite color. The Dot itself is a prefab (that if dragged in the scene view shows up just fine) containing the dot and the script. The script get the color from another script that holds an array of the four colors. What can I do to fix this?