Hello guys. I ma trying to do something in unity. I want to scale an object named wall when the Alphabet “G ” is pressed.
But this is the problem that i get.
This is the Script part:
this is the unity GUI part
The Selected one is the wall. If i use the GetComponent<Renderer>(); it workers but it doesn’t works directly.