I would like to make a square that moves in Unity, but I don't know how to do it, I search and can't find it, could you explain how?
I would like to make a square that moves in Unity, but I don't know how to do it, I search and can't find it, could you explain how?
You should take a look at the translate method of your transform component.
You can access this from the update of your script: