so im confused on a tutorial

so im following an inventory tutorial and it needs me to make variables public but its not allowing me

By default, variables are already public. With UI components, it is not able to be changed.