The example script, Reflective Detector (ReflectiveDetectorExample.cs), allows you to detect when an avatar collides with an object that contains the script. It sends data to the Reflective Tracker (ReflectiveTrackerExample.cs), which then tracks the number of hits.
You may add as many detectors as you want to objects in your scene. However, the script does not track collisions individually per detector. Instead, all detectors track hits on a scene-wide basis and tracks all collisions towards one tally.
Here is a step-by-step guide to using the script:
Download the script files from the download link at the end of this article.