The template contains since 3.0 a system to evaluate the player performance during a stage.
In order to trigger an evaluation, use the component StageCompleteTrigger, there is an example of this at the end of SampleScene2.
This component references a RankingDataSet which contains the evaluation conditions for each rank of this specific stage. For each stage of your game, you’ll need a new RankingDataSet .
You can create a new set by right clicking on your Project view and select: Create→HorrorEngine→Ranking→RankingDataSet
Then assign the data set to your level StageCompleteTrigger component.
The stage evaluation can be triggered by calling the method StageCompleteTrigger.CompleteStage
The evaluation will automatically reset after each stage is completed and the transition to the next scene completed.