Simple Player Movement in Unity

George Asiedu
Jun 21, 2022

--

To get our player moving within our scene I have applied a script to a cube. This script will hold all the actions related to the cube named “Player”

opening the Player script within an IDE will allow us to enter code to make our game and communicate within the unity menus

the highlighted are what help us use unity. Start class is called on when the script is enabled. this will define the start position of the cube

update will be called once per frame continuously

This is the result

--

--