Data types and explictly stating

In the Lerpz tutorial, they have the following in a script:

private var levelStateMachine : LevelStatus;

LevelStatus is the name of a script, not a data type, so can somebody help me understand what this line is doing?

Is this just saying that levelStateMachine is an instance of the LevelStatus script??


Behavior Scripts are used as datatypes. This will likely refer to the LevelStatus script attached to whatever game object the script containing this line is also attached to.

It's saying exactly that. levelStateMachine is just an instance of the script which is probably assigned in Awake or Start