I’m attempting instantiating a circle but I need to change the color of the circle’s sprite. I figured out changing this, but from what I try, it just errors out.
I expect the code to be something like this:
Instantiate(circle(GetComponent<SpriteRenderer>().color = new Color(153, 38, 0, 255)), circlespawn, circlespawnrot);
However this just errors out.