I am currently learning to use a SDK designed for Unity and found some pieces of code that confuse me. The examples for the SDK make heavy use of statements that place a component in an if statement.
Ex.
void Start() {
if(someComponent) {
someComponent.DoSomething();
}
}
As best as I can tell this tests that the component exists/is not null. I would like to know if this is the case and if possible what part of C# is used to do this.