- Please use Code-Tags: Using code tags properly - Unity Forum
- The error(s) already show what the problem is.
You’re missing a ‘;’ somewhere. Specifically at (or just before) line 16.
In what you’ve posted, there is a ‘;’ missing after using UnityEngine.UI