title: If statement creating unwanted objects
body: <p>For some reason this if statement creates a GameObject in Unity when run.</p>
  
  <pre><code>if (touchedTarget == true &amp;&amp; Targeter[1] == new GameObject()) {
      _destination = Targeter[1].transform;
  }
  </code></pre>
  
  <p>There is nothing else in the script that creates an object. I thought that this would compare the thing in the array to a new GameObject and I'm utterly confused by what is going on.</p>
  
  <p>With the new GameObject(): <a href="https://gyazo.com/6e7c5fe524d0425b4474b54cfe79ac19" rel="nofollow noreferrer">https://gyazo.com/6e7c5fe524d0425b4474b54cfe79ac19</a>
  Without: <a href="https://gyazo.com/6ed97637e2e2765f6ef4a976bfb6071a" rel="nofollow noreferrer">https://gyazo.com/6ed97637e2e2765f6ef4a976bfb6071a</a></p>
  
  <p>Can someone explain why it did this?</p>