store gameobject then manipulate with ui

i cant seem to get this to work as i need, i would like to select a gameobject from many, then change its rotation, colour etc through UI in the game.

you can make a script for the UI, i which you can mak a public Gameobject, which variables like transform, material you can access.

Next time you can go on youtube and search by your self… :

But good luck and have fun