I am confused when you should access a class or variable in certain situations, I am referring to the dot notation. (beginner)
The code below is a simple collision tutorial I am following, why do you use lowercase rigidbody, what I understand is a class variable, instead of using the class, Rigidbody?
lower case rigidbody is a property ( which usually in other C# standard code will be written Rigidbody with upper case R.
but in unity property that reference component in gameObject are all lower case, so Rigidbody will be the class while rigidbody is a property that reference the component for you ( if you have one on the game object or it will return null )