Questions about variables

Hi i wanted to know if it’s better to hardcode everything or better to do inspector variables ?

Also i wanted to know if it is dangerous to do it and if not putting everything in private is dangerous ?

thanks for taking time to respond.

Don’t use the Inspector as a crutch; if there’s a valid reason, ok, but don’t make everything public just cuz you don’t know how to assign something in a script. Private is safest. You’ll want to review public, private, protected, etc to better understand.