On the event of a collision?

Heya,
I’ve been working with the 2d gameplay tutorial, and have created three essential game mechanics: Lives, Money, and a way to finish the level(A crystal figurine of Lerpz, a classic coin, and a glowing star).

The problem? I’m unfamiliar with Javascript. Is there a way to simply say that on the event of a collision between Lerpz and the star, figurine, or coin will generate specific results for each object?

129994--4836--$picture_13_519.png

You’ll need to add a Collider Component to the trigger and then determine one of a collision events to invoke in code to handle the result. Check out: Unity - Scripting API: Collision for more.

Thanks! This is exactly what I needed.