It looks like you're new here. If you want to get involved, click one of these buttons!
Why does Getcomponent and all the other code not work .
And all the code is white but some words should be in color .
Monobehaviour is white to, and i saw on youtube clips it should be in color
Its just the color theme if you go to tools then environment there should be an option for fonts and colors.
it should be
GetComponent<SpriteRenderer>().color = Color.red; // Color.red is capital C