what is the problem of my code
function OnCollisionStay (col : Collision)
{
if(col.gameObject.name == "plane")
{
Destroy(col.gameObject);
Destroy(gameObject);
}
}
the error say " the object of type transform has been destroyed but you are still trying to access it "
plz i need help