Unity C# scripting
Now, it is time to dig into the fun stuff. C# scripting in Unity should simply be considered another component. While it is in some ways very similar to the transform, rigidbody, or collider components, C# scripts new functionality to the object it is attached to. The big difference is that they add nearly infinite possibilities.
What is C#?
C# is a robust and easy-to-learn Object Oriented Programming (OOP) language designed by Microsoft. C# fits the Common Language Infrastructure (CLI) open specification. If you do the research, you will discover that C# is very similar conceptually to C and C++ and is also very similar to Java.
To begin to understand OOP, we must understand that these programs are built out of collections of data structures and functions called classes. A class is the blueprint from which we make an object.
Classes can be something as simple as a cup or as complex as a Tesla Model X, though generally the more complex an object, the more objects that are...