In order to create a working and playable fragment of my game idea, I researched online video and written tutorials in order to help me to produce the code needed to control the player through the movements of the mouse. Through following several tutorials I was also able to get an ‘enemy’ to follow the player wherever it is in the level.
I have also implemented collisions between the player and enemy by adding the rigid body and collider components in the Inspector tab.
Because this is a maze game there needs to be walls that also have collision, this was achieved be adding the mesh collider and rigidbody components.
The green outlines on my wall assets represent the collision boundaries of the wall and stop the player and enemy from passing through.