Possibly the most crucial coding concept to understand is that of variable scope, which determines the “visibility” of a variable depending on where it is originally declared. This lesson takes a look at that topic and how variables that are local to methods, or nested structures within methods, have a temporary life-span compared to those declared at the class-level. We see how these class-level variables (technically called “fields”) have a profound impact on game elements in Unity.