title: Collider.isTouching for 3D colliders
body: <pre><code>if (colliderBox.isTouching (col) &amp;&amp; col.CompareTag("barrier")) {
          score++;
          this.GetComponent&lt;Renderer&gt; ().material.color = col.GetComponent&lt;Renderer&gt; ().material.color;
      }
  
      if (spriteBox.IsTouching(col) &amp;&amp; col.CompareTag("barrier") ) {
          Debug.Log (col);
          Debug.Log (colliderBox);
          SceneManager.LoadScene (mainMenu);
      }
  </code></pre>
  
  <p>Currently in my code, I was using a onTriggerEnter, to detect a collision with an object called 'barrier', but I have had to replace my 2d spriteBox and 2d colliderBox with 3D objects, and now isTouching is not a property of 3D colliders. I can not find a simple replacement. What can I replace them with?</p>