Unity Android versions support?

Where can I get the list of Unity software versions along with a list of their supported versions of Android (APIs)? I can’t find any official documents for this.

void OnCollisionEnter(Collision col)
{
if (col.gameObject.tag == “Sphere” && col.gameObject.tag == “Pyramid”)
{
Destroy (GameObject.FindWithTag(“Pentagon”));
}
}

col.gameObject.tag can’t be both “Sphere” and “Pyramid” at the same time so your && condition will never return true. In your other example you’re using ||.

Debug.Log is your friend here.

Try this is your object:

    void OnCollisionEnter(Collision col)
     {
         Debug.Log(col.gameObject.tag);
     }

Notice that the Log happens individually for each time your object collides with something, this means you can only collide with one object each time. Doing an and && operation between tags does not make sense in this case because only ONE object is sent to OnCollisionEnter.

How would you check if you collided with both? One approach would be to cache the LAST collision, and check if it is a Pyramid or a Sphere.

	string lastTagCollided = "";
	void OnCollisionEnter(Collision col)
	{
		if(col.gameObject.tag == "Pyramid" && lastTagCollided == "Sphere")
		{
			// Destroy something
		}

		if(col.gameObject.tag == "Sphere" && lastTagCollided == "Pyramid")
		{
			// Destroy something
		}

		lastTagCollided = col.gameObject.tag;
	}

Make this script and call it PentagonColliderScript

public bool collidesWithPentagon;
public string other;

void OnCollisionEnter(Collision col)
{
    if(col.gameObject.tag == "Pentagon")
    {
        collidesWithPentagon = true;
        if(GameObject.find(other).getComponent<PentagonColliderScript>().collidesWithPentagon)
{
Destroy(col.gameObject);
}
    }
}

void onCollisionExit(Collision col)
{
    if(col.gameObject.tag == "Pentagon")
    {
         collidesWithPentagon = false;
    }
}

on the sphere set the other value in the inspector to Pyramid and on the Pyramid, set it to sphere. I don’t know if this will work, I am typing this on my mobile phone.