i didn’t find things unity tutorial says working in unity 2018 like find input in documentation and that dosent work like input system i got another thing
and in scripting tutorial
color changing tutorial does not worked it says code error
Unity - Scripting API: Input is indeed the correct reference for the Input class. What were you not finding there?
The reason for the error message is what the console says - “GetComponent()” by itself doesn’t work, because you’re not specifying what component you want.
GetComponent() - Get the rigid body (physics) component.
GetComponent() - Get the sprite displaying component.
GetComponent() - Get … something?
From the context of how it’s used in that code, you probably want to be getting a Renderer component.