In this quick unity tip we are going to learn to declare variables. Don't use unspecified or undeclared Variables. Always declare the variables. Being lazy is easy. A mistake every beginner programmer makes is not declaring their variables. They just put whatever works for them without naming them. You should always declare Variables for a clean project. Because if you open that project 6 months later you are not going to remember what that number means. Or say you're working with someone else in a project. When they work on that project they are going have a hard time understanding your code. So always declare Variables. It's just short version of a long unity tutorials.
It's going to help you in the long run.
#Shorts
Subscribe: / @ghoststudios
Twitter: / ghoststudiosgs
Instagram: / ghost_studiosgs