Greetings everybody,
there’s something that is unclear to me: why do you have to “get” the entire Sprite Renderer component, store all of its values in a variable and then change only its color instead of changing directly the object color?
Why can you normally change the Transform properties directly to move the car, but not the Sprite Renderer ones? Does it have something to do with the fact that Transform is always present and the other Components are optional?
Thank you
Alex