Run Code when Trigger collides with Mesh

I’m writing a game where I have a trigger as part of my Player. I’d like to be able to trigger code to run when it intersects with the level. Is there any straightforward way to do this or should I figure out a new setup?

OnTriggerEnter()