title: Unity2D collision, if statement
body: <p>I have this bit of unityCode to check if a character is grounded</p>
  <pre><code>private void FixedUpdate(){
      is_on_ground = false;
  
      // The player is grounded if a circlecast to the groundcheck position hits anything designated as ground
      // This can be done using layers instead but Sample Assets will not overwrite your project settings.
      Collider2D[] colliders = Physics2D.OverlapCircleAll(m_GroundCheck.position, k_GroundedRadius, m_WhatIsGround);
      for (int i = 0; i &lt; colliders.Length; i++) {
          if (colliders[i].gameObject != gameObject) {
              is_on_ground = true;
          }
      }
  }
  </code></pre>
  <p>Can someone explain what the if-statement <code>if (colliders[i].gameObject != gameObject)</code> does?</p>