Very simple question:
If you have a Game Object, and you want to check if it exists, is
if (gameObject) { }
the same as
if (gameObject != null) { }
and if not, what is actually being evaluated in the first statement?
Very simple question:
If you have a Game Object, and you want to check if it exists, is
if (gameObject) { }
the same as
if (gameObject != null) { }
and if not, what is actually being evaluated in the first statement?