title: Cancel delayed Destroy() call on a GameObject
body: <p>I have create a gameObject inside a destroy and have called the Destroy() method on this object with a delay duration of 2 second.</p>
  
  <p><code>Destroy(gameObject,2.0f);</code></p>
  
  <p>What I want is, if another gameObject with a collider collides with this gameObject, I want to cancel the destroy call for this particular gameObject.</p>
  
  <p>I tried to call destroy again on the same gameobject with new duration, but it still gets destroyed based on the old duration.</p>
  
  <pre><code>void OnCollisionEnter2D(Collision2D coll)
  {
      //Debug.Log("Inside Enter");
      if (coll.gameObject.tag == "Ball")
      {
          Destroy(gameObject, reInitializeLifeOfLine);
          Debug.Log("Inside Enter");
      }
  }
  </code></pre>
  
  <p>Can someone please suggest how to achieve this</p>