How to detect if two 3d objects have touched each other

I know how to do this in a 2d game using
if (colider.IsTouching(colider2)) {

    }

but collider does not contain a definition for isTouching.
Does anyone know a solution for this?

Good day.

You need to learn how to use Oncollision and Ontrigger family Methods. Dont expect to have a command to give your solution, try to understand how they work (is very very simple) and will be able to do so much more things that you expect!

Bye!

You should read the APi, but first, check this Unity tutorial.

Bye!