"Unexpected Symbol 'Public'"

If I’m not mistaken, I should be able to test this code in the game. However, Unity keeps notifying me the ‘Public’ is an unexpected symbol. Am I missing a bracket or something?

Missing a closing bracket for the Update function above :wink: